AutoTools Use OCR to recognize text in a photo and store it as a note in Google Keep

Learn how to take a photo, recognize the text in it and store it in a Google Keep Note

  1. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,488
    Likes Received:
    720
    joaomgcd submitted a new AutoApps project:

    Use OCR to recognize text in a photo and store it as a note in Google Keep - Learn how to take a photo, recognize the text in it and store it in a Google Keep Note

    Read more about this project...
     
  2. bizz78

    bizz78 New Member

    Joined:
    Feb 16, 2016
    Messages:
    8
    Likes Received:
    0
    The Autoshare is not giving me the option to select image under App. It only shows Autoshare no Image or Email
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,488
    Likes Received:
    720
    You don't need Image or Email for this. You should use the "AutoShare" app there.
     
  4. pablo216

    pablo216 New Member

    Joined:
    Jan 12, 2017
    Messages:
    3
    Likes Received:
    0
    I successfully made the task... But the OCR can't seem to recognize well enough any text beside from those EXTREMELY clear and with a white background. Any ways to enhance it?
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,488
    Likes Received:
    720
    Unfortunately no, I have no way of changing it's behaviour, sorry!
     
  6. Patrick Teo

    Patrick Teo New Member

    Joined:
    Dec 24, 2015
    Messages:
    4
    Likes Received:
    0
    How can I modify OCR to Text to allow me to :
    1. Choose an existing picture or
    2. The most recent picture (such as when I just took a screen shot or I use the Samsung Galaxy Note S Pen to Smart Select part of the screen and save to Gallery
    Thank you
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,488
    Likes Received:
    720
    In the OCR action there's a field for "Image" :) Just put the path of the image there.
     
  8. Patrick Teo

    Patrick Teo New Member

    Joined:
    Dec 24, 2015
    Messages:
    4
    Likes Received:
    0
    I chose within OCR action, the field for open image file. I'm not sure what is the "path of the image" to be placed there.

    There's already a variable there %asfilepath

    What am I to place there?
     
    Last edited: Mar 6, 2017
  9. rune

    rune New Member

    Joined:
    Nov 11, 2015
    Messages:
    2
    Likes Received:
    0
    I always get this error:
    18.09.33/ActionArgBundle key: IntentMimeType: replace <null> String value with null
    18.09.33/ActionArgBundle key: IntentData: replace <null> String value with null
    18.09.33/E FIRE PLUGIN: AutoShare / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 11 bundle keys
    18.09.33/E AutoShare: plugin comp: com.joaomgcd.autoshare/com.joaomgcd.autoshare.broadcastreceiver.BroadcastReceiverShare
    18.09.33/E add wait type Plugin1 time 3000
    18.09.33/E add wait type Plugin1 done
    18.09.33/E add wait task
    18.09.33/E Error: 2

    my task:
    Vgfh (192)
    A1: AutoShare [ Configuration:package: com.sec.android.app.camera
    Class: com.sec.android.app.camera.Camera
    App: Image
    Action: Take Photo
    File Path: file://storage/emulated/0/Tasker/test.jpg Timeout (Seconds):3000 ]
    A2: Flash [ Text:%asfilepath Long:Off ]
    A3: AutoTools OCR [ Configuration:Image: %asfilepath Timeout (Seconds):60 ]
    A4: Flash [ Text:%atocrvalue() Long:Off ]
    A5: Notify [ Title:Tekst Text:%atocrvalue() Icon:null Number:0 Permanent:Off Priority:3 ]
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,488
    Likes Received:
    720
    Unfortunately it won't work with images that are too large. Did you try with smaller images?
     
  11. MustangDude68

    MustangDude68 New Member

    Joined:
    May 25, 2019
    Messages:
    1
    Likes Received:
    0
    • I cannot find this part of the instructions "Under File Path select any existing or new file on your file system" anywhere in the menus even after watching the video. Please help me locate "File Path"! Otherwise it was easy directions to follow and set up.
     
  12. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,488
    Likes Received:
    720
    Did you select the Take Photo action above like in the video?
     
  13. LewnWorx

    LewnWorx New Member

    Joined:
    Sep 5, 2019
    Messages:
    3
    Likes Received:
    0
    I realize you,re out. However I keep getting g an error at the ocr step:

    10.14.01/Variables doreplresult: |{"image":"%asfilepath","generatedValues":{}}| -> |{"image":"\/storage\/emulated\/0\/AutoShare\/Images","generatedValues":{}}|
    10.14.01/ActionArgBundle AutoTools OCR: parameters: {"image":"%asfilepath","generatedValues":{}} -> {"image":"\/storage\/emulated\/0\/AutoShare\/Images","generatedValues":{}}
    10.14.01/E FIRE PLUGIN: AutoTools OCR / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 6 bundle keys
    10.14.01/E AutoTools OCR: plugin comp: com.joaomgcd.autotools/com.joaomgcd.autotools.broadcastreceiver.IntentServiceFire
    10.14.01/E add wait type Plugin1 time 60
    10.14.01/E add wait type Plugin1 done
    10.14.01/E handlePluginFinish: taskExeID: 1 result 3
    10.14.01/E pending result code
    10.14.01/E add wait task
    10.14.02/E Error: 144435654
    10.14.02/E Couldn't use latest version of Google Play Services: Check that you have at least version 17.0.2 and try again


    Which is odd as I have the latest play services installed: 19.0.5.6.

    This is.on a New Amazon FireHD 10 with a manually side loaded google.play store and services but both are the latest versions and otherwise have no.issues.

    Any clue as to the cause?
     
  14. LewnWorx

    LewnWorx New Member

    Joined:
    Sep 5, 2019
    Messages:
    3
    Likes Received:
    0
    Just to rule out that I didn't do some thing else silly I created a 1 step task with just the ocr hard pointed to an image file and got the same resulting error code.
     
  15. LewnWorx

    LewnWorx New Member

    Joined:
    Sep 5, 2019
    Messages:
    3
    Likes Received:
    0
    Also checked on another FireHD tablet with a 18.x play services, same error.
     
  16. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    8,488
    Likes Received:
    720
    Are you still having this issue? Possibly because of something missing in Amazon's devices?
     

Share This Page