using google images
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 151
- Joined: Sat Aug 25, 2012 1:14 am
using google images
I am thinking through an idea and not asking for code, but to see if it is feasible.
I would like to capture a picture from my app (Got that) and go to www.images.google.com then insert the complete filename from the device into the search box for goggle and then select "Search" to search for similar pictures on the internet. I want to do this with only one button from the picture or a double click/tab on the picture. In other words with minimal user interaction. Before I start I'd like to know if anyone thinks that is possible with our current version of LveCode. I may then download that picture back to the app.
Thank you
TY
I would like to capture a picture from my app (Got that) and go to www.images.google.com then insert the complete filename from the device into the search box for goggle and then select "Search" to search for similar pictures on the internet. I want to do this with only one button from the picture or a double click/tab on the picture. In other words with minimal user interaction. Before I start I'd like to know if anyone thinks that is possible with our current version of LveCode. I may then download that picture back to the app.
Thank you
TY
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: using google images
Hi TY,
Sure!
https://www.google.com/search?hl=en&sit ... q=livecode
In that url livecode is the name of your file.
Simon
Sure!
https://www.google.com/search?hl=en&sit ... q=livecode
In that url livecode is the name of your file.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 151
- Joined: Sat Aug 25, 2012 1:14 am
Re: using google images
Great, thank you Simon
Ty
Ty
-
- Posts: 151
- Joined: Sat Aug 25, 2012 1:14 am
Re: using google images
Simon,
Would I use:
/var/mobile/applications/...Phone ID../Documents/myimages/myimages1404082825.jpg as the file name? I've tied variation of this and google is not able to find an image. It is an image of a calculator. I've tried to get the imageData use that,but it still didn't work. I'm missing a step somewhere.
Thank you
Ty
Would I use:
/var/mobile/applications/...Phone ID../Documents/myimages/myimages1404082825.jpg as the file name? I've tied variation of this and google is not able to find an image. It is an image of a calculator. I've tried to get the imageData use that,but it still didn't work. I'm missing a step somewhere.
Thank you
Ty
-
- Livecode Opensource Backer
- Posts: 447
- Joined: Mon Jan 23, 2012 12:46 pm
Re: using google images
Are you trying to create a reverse image search? Google images can only search by the text that is searched. It has no idea that your picture is a calculator. If I understand correctly, you want to create something like TinEye(https://www.tineye.com/) Perhaps? If this is the case I don't think google images is what you're looking for. If this is not the case, maybe your solution is to rename the file to calculator.jpg?
--Sefro
--Sefro
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: using google images
Wow Ty,
If figured you were naming your images, like Sefro said.
Sorry no way it will work with a filename like that.
Simon
If figured you were naming your images, like Sefro said.
Sorry no way it will work with a filename like that.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- Posts: 151
- Joined: Sat Aug 25, 2012 1:14 am
Re: using google images
Thanks you two for your rapid responses. I now have a much better understanding and will have the user "describe the photo" before the search.
Thank you again
Ty
Thank you again
Ty
Re: using google images
There is a possible, somewhat advanced, and not free solution:
Tintype offers an API service to access it’s image search engine:
https://services.tineye.com/TinEyeAPI
You can use api's in Livecode, but I have not done so. Others would have to help you with this, if it's something you wish to persue.
Please note, as I mentioned earlier, you have to pay to use this api.
Tintype offers an API service to access it’s image search engine:
https://services.tineye.com/TinEyeAPI
You can use api's in Livecode, but I have not done so. Others would have to help you with this, if it's something you wish to persue.
Please note, as I mentioned earlier, you have to pay to use this api.