Petr Kirpeit

unread,
Aug 21, 2014, 2:17:09 PM8/21/14
to mitappinv...@googlegroups.com
Hello,
Im new here and I have a question about OCR detection.
I would like to create a easy App.
I want Open the camera and scan a word/ Value, open the Webviewer and search it on Google or a other search engine,
I want to make my work easier, because I need mostly datasheets to some electronic elements and dont want type all.

Hope someone can help me :)

thanks 

SteveJG

unread,
Aug 21, 2014, 2:21:32 PM8/21/14
to mitappinv...@googlegroups.com

Petr Kirpeit

unread,
Aug 21, 2014, 2:39:17 PM8/21/14
to mitappinv...@googlegroups.com
hey, thanks for the fast answer,
but I want that this what the App scanned and OCR detected get as a search answer

SteveJG

unread,
Aug 21, 2014, 3:16:23 PM8/21/14
to mitappinv...@googlegroups.com
App Inventor does not have a scan OCR capability.    To do something like that you may need to program in Java with Android Studio and use an OCR library ...see this stuff:  https://www.google.com/search?q=android+studio+ocr&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=fflb 

App Inventor can take a picture but it can not determine the words that would be captured and in turn search.   To search using App Inventor, you can use the Activity.Starter

.

Launch a Web search

To launch a Web search for a particular query, such as "Homer Simpson", use an activity starter with these properties:

Action: android.intent.action.WEB_SEARCH
ExtraKey: query
ExtraValue: Homer Simpson
ActivityPackage: com.google.android.providers.enhancedgooglesearch
ActivityClass: com.google.android.providers.enhancedgooglesearch.Launcher

My experience is that you should not use the ActivityPacage or ActivityClass .. leave them blank.    It seems the device can find these values on its own   and following the total directions here might not work on some devices.

Regards,
Steve

Petr Kirpeit

unread,
Aug 21, 2014, 3:42:31 PM8/21/14
to mitappinv...@googlegroups.com
Oh I see, well it were great if they would insert a open source library into the MIT AppInventor.
Do you know a App or a plugin to share something to Google search?
I can scan it and share it to some Apps, so it were great if I can share it to the google search
do you have a idea?

SteveJG

unread,
Aug 21, 2014, 4:16:36 PM8/21/14
to mitappinv...@googlegroups.com
App Inventor OpenSource is here:   http://appinventor.mit.edu/appinventor-sources/  

To do a Google search from AI2, you use the Activity.Starter as I mentioned in my previous post

You might also be able to bring up the OCR apps you found using Activity.Starter ...

How you use the second app to grab text and use with an AI2 app might be possible but I have no clue.    Look for ideas here:

Can it be done?     I have no idea although if you know the right keywords to plug into activity.starter, you might be the first.
If you figure it out, please post here and explain how you did it.   Thanks.

Regards,
Steve

Abraham Getzler

unread,
Aug 21, 2014, 6:36:30 PM8/21/14
to mitappinv...@googlegroups.com
If you want easy, try the Google Goggles app.
It will scan and search.

ABG


petr.k...@googlemail.com

unread,
Aug 23, 2014, 8:37:04 AM8/23/14
to mitappinv...@googlegroups.com
@Abraham Getzler,

that dont do what I want, it can scan only QR- or Barcodes, but not OCR detection, I want open the camera and OCR a title/value which stand on the paper and so that I can get the value in a google search.

Taifun

unread,
Aug 23, 2014, 3:55:51 PM8/23/14
to mitappinv...@googlegroups.com
what about using an API?
Taifun

Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.         

petr.k...@googlemail.com

unread,
Aug 24, 2014, 1:45:00 PM8/24/14
to mitappinv...@googlegroups.com
Yeah I see,
But Im not so in this, and I dont have alot time to learn how to use this all in a App.

Taifun

unread,
Aug 24, 2014, 1:56:27 PM8/24/14
to mitappinv...@googlegroups.com
I could set up a new tutorial for this
in case you like to be a sponsor of that tutorial, please contact me directly by email
Taifun

petr.k...@googlemail.com

unread,
Aug 24, 2014, 2:13:53 PM8/24/14
to mitappinv...@googlegroups.com
Hey,
I wrote you the email, so we can talk privately.

Reply all
Reply to author
Forward
0 new messages