Reply
Thread Tools
Posts: 50 | Thanked: 16 times | Joined on May 2010
#1
Hi,

Is it possible to use this python google goggles code and create a share plugin to n900?

https://github.com/deetch/goggles-experiment

http://notanothercodeblog.blogspot.c...ggles-api.html

Thanks

Bentzy.
 

The Following 2 Users Say Thank You to DJBENTZY For This Useful Post:
cddiede's Avatar
Posts: 1,034 | Thanked: 783 times | Joined on Dec 2007 @ Annapolis, MD
#2
How is Google Goggles that different from Nokia's City Lens (Liveview):

http://betalabs.nokia.com/apps/nokia-city-lens
 
icebox's Avatar
Posts: 282 | Thanked: 118 times | Joined on Nov 2007 @ /dev/null
#3
Nokia's City Lens is not available for the N900 as far as I can see...
__________________
--

Tech blog: http://www.sgvulcan.com/
Photos: http://500px.com/silviuvulcan
@silviuvulcan on Twitter http://www.twitter.com/silviuvulcan

- Putting a man on the Moon was often quoted as being our greatest achievement.
- 40 years later, putting a man on the Moon is still quoted as being our greatest achievement
 

The Following 2 Users Say Thank You to icebox For This Useful Post:
Posts: 781 | Thanked: 3,026 times | Joined on Mar 2009
#4
Goggles comes with source code (but not explicit license).

Seems CityLens doesn't have public source code. (Correct if I'm wrong).

--
Goggles.py is not (syntactically) working with python-2.5.2 (this is what we have on Maemo).

It is not working on Ubuntu either, maybe there are something changed on server/API. One comment point to the test made by Java, and that works under Ubuntu: http://prodroid.com.ua/?p=385

So that Java could be rewritten (back) to the Python and keep in mind python-2.5 and then we have it on N900.

That java-file is 193 lines and imports could be the same than old python goggles.py have.

It is only commandline tool for testing API.
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 50 | Thanked: 16 times | Joined on May 2010
#5
I saw on the comments of this link http://notanothercodeblog.blogspot.c...ggles-api.html
that this code is no longer active since google made some changes BUT there is another comment says that there is a small issue to fix and it can be back to functional again.

I see what people do these days with less then the code provided in these links (thanks again to all the developers who keep on developing our devices)
I hope that someone can make this code snippets into one working share plugin.

Last edited by DJBENTZY; 03-20-2012 at 11:54 AM.
 
Posts: 781 | Thanked: 3,026 times | Joined on Mar 2009
#6
And here we go, I do not even know what is 'share plugin', but goggles.py -tester is now working on N900.

Who will build GUI with camera functionality?

------------------------
Fetch:
Code:
git clone https://aapo@github.com/aapo/goggles-experiment.git
Install dependency:
Code:
root
apt-get install python-httplib2
Download image from blog post
Code:
wget http://4.bp.blogspot.com/__Jkfqgge9Y4/TUqAe2E7aVI/AAAAAAAAAA0/7Jrm6_sQ2-s/s1600/photo.JPG

Works on N900:
Code:
./goggles.py photo.JPG
And it will answer:
Code:
1
'Hello, goggles! '
2
'Text'
1
'Svn Tag'
2
'Similar Image'
6
'60d8533f436f980d'
4
'\n+TR=T=Dh1FnQ6ME8U:X=Pa52W:S=7RIJ7CWcJm-fze4x\n+TR=T=UBrggiiDWu8:X=Pa52W:S=TeOuEomAji2B7nVN\n+TR=T=KZPBUJ_WgfA:X=Pa52W:S=LlcDYKUWY4OqdreQ\n+TR=T=_m1SyKC3WiU:X=Pa52W:S=NeFbGzffsl-D7IfT\n+TR=T=jfs_mlc4wSI:X=Pa52W:S=QgWZ2Fyqppqns3j5\x10\xe0\xa7\x12'                                  
### start of non-debug output ###
1
Reply
        1
        ReplyItem
                1
                'Hello, goggles! '
                2
                'Text'
        1
        ReplyItem
                1
                'Svn Tag'
                2
                'Similar Image'
        15705729
        unknown
                2
                some 64bit value
                6978419153790015501L
                6
                '60d8533f436f980d'
4
'\n+TR=T=Dh1FnQ6ME8U:X=Pa52W:S=7RIJ7CWcJm-fze4x\n+TR=T=UBrggiiDWu8:X=Pa52W:S=TeOuEomAji2B7nVN\n+TR=T=KZPBUJ_WgfA:X=Pa52W:S=LlcDYKUWY4OqdreQ\n+TR=T=_m1SyKC3WiU:X=Pa52W:S=NeFbGzffsl-D7IfT\n+TR=T=jfs_mlc4wSI:X=Pa52W:S=QgWZ2Fyqppqns3j5\x10\xe0\xa7\x12'

Last edited by AapoRantalainen; 03-22-2012 at 05:58 PM. Reason: simplified
 

The Following 2 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 50 | Thanked: 16 times | Joined on May 2010
#7
WOW!
Nicely Done!

Who can help with compiling this code to sharing plugin?

Last edited by DJBENTZY; 03-26-2012 at 04:05 AM.
 

The Following User Says Thank You to DJBENTZY For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 08:19 AM.