OCR-Reader | Android Application that will allow you to identify | Computer Vision library

 by   AmruthPillai Java Version: v1.1 License: No License

kandi X-RAY | OCR-Reader Summary

kandi X-RAY | OCR-Reader Summary

OCR-Reader is a Java library typically used in Artificial Intelligence, Computer Vision applications. OCR-Reader has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub.

An Android Application that will allow you to identify the text seen from your phone camera, and also be able to speak the text that's identified, using Google's Mobile Vision Text API for Android.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              OCR-Reader has a low active ecosystem.
              It has 8 star(s) with 6 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 0 have been closed. On average issues are closed in 844 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of OCR-Reader is v1.1

            kandi-Quality Quality

              OCR-Reader has 0 bugs and 0 code smells.

            kandi-Security Security

              OCR-Reader has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              OCR-Reader code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              OCR-Reader does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              OCR-Reader releases are available to install and integrate.
              Build file is available. You can build the component from source.
              It has 1301 lines of code, 97 functions and 11 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed OCR-Reader and discovered the below as its top functions. This is intended to give you an instant insight into OCR-Reader implemented functionality, and help decide if they suit your requirements.
            • Override method used to set the preview of the view
            • Calculates the rotation of a camera
            • Generate a list of acceptable preview sizes for the camera
            • Opens the camera
            • From interface TextBlock
            • Returns the graphic at the specified location
            • Draw the TextBlock on the TextBlock
            • Gets the bounding box of the text box
            • Initializes the camera
            • Request the camera permission
            • Returns a callback for the permissions result
            • Creates the camera source
            • Start auto - focus on the camera
            • Sets the focus mode
            • Takes a picture
            • Performs the zoom level of the camera
            • Set the flash mode
            • Set the auto - focus callback
            • This is called when a text block is detected
            • Draws the overlay
            Get all kandi verified functions for this library.

            OCR-Reader Key Features

            No Key Features are available at this moment for OCR-Reader.

            OCR-Reader Examples and Code Snippets

            No Code Snippets are available at this moment for OCR-Reader.

            Community Discussions

            QUESTION

            How to perform OCR on a subset of the camera frame using Google TextRecognizer or Tesseract
            Asked 2019-Aug-21 at 17:04

            Starting with this sample project [ https://github.com/googlesamples/android-vision/tree/master/visionSamples/ocr-reader ], I have been able to implement filtering in the OcrDetectorProcessor.receiveDetections() method.

            This works, but com.google.android.gms.vision.text.TextRecognizer appears to search the the entire screen for characters.

            I presume that the receiveDetections() method could be called more frequently if a smaller portion of the screen were being scanned for characters instead of the entire screen.

            Is it possible to specify a smaller portion of the screen to be scanned? It should be straight-forward to direct the user, through a change to the graphic overly, to position their camera so that this smaller portion of the screen contained the target text, but I'm unsure as to how to tell the processor to use just a small portion of the frame when doing it's OCR processing.

            What would need to be altered to specify that the OCR should operate on a subset of the frame?

            ADDITIONAL INFORMATION:

            I tried to subclass TextRecognizer, but it's marked final, and the source appears to be closed.

            So I'm expanding the question to how the functionality of the ocr-reader sample could be replicated using Tesseract.

            I found this link, but haven't explored converting the concepts there into camera frames as opposed to a single image file.

            ...

            ANSWER

            Answered 2019-Aug-21 at 17:04

            I had a similar issue and resolved it by using Tesseract and a simple cropping library called "Android Image Cropper" - Link here .

            Basically I just crop the image before passing it for processing. Here is a small sample of my code:

            This line will start new activity for a result:

            Source https://stackoverflow.com/questions/55876514

            QUESTION

            Exiting from OCR activity on specific text detection
            Asked 2018-Dec-11 at 19:30

            In this sample Android OCR application, that uses com.google.android.gms:play-services-vision, there is a OcrDetectorProcessor.receiveDetections() method which gets repeatedly called. In that method, while the user points the camera at things in the environment, we have access to whatever text is detected.

            If the user presses the back button, the process ends, but I would like to have the process end when a certain condition occurs within the receiveDetections() method.

            I tried calling mParentActivity.onBackPressed(), but that threw an exception from super.onBackPressed():

            OpenCameraSource: Exception thrown from receiver. java.lang.IllegalStateException: Must be called from main thread of fragment host

            So although the exception is caught and the app continues to run, calling onBackPressed() is not the right approach. What is the right way to programatically back-out of receiveDetections()?

            ...

            ANSWER

            Answered 2018-Dec-11 at 19:30

            QUESTION

            How to return data from OCR Detector.Processor in Google sample Android code
            Asked 2017-Nov-29 at 22:26

            In this sample Android program, the device's camera is used to perform optical character recognition through the com.google.android.gms:play-services-vision library.

            In visionSamples\ocr-codelab\ocr-reader-complete\app\src\main\java\com\google\android\gms\samples\vision\ocrreader\OcrDetectorProcessor.receiveDetections() I am able to see the text that is identified using logging:

            ...

            ANSWER

            Answered 2017-Nov-29 at 22:26

            Generally what you need to do is to save a reference to the OcrDetectorProcessor, then write a data retrieval method and call it from OcrCaptureActivity.

            So make this change to your 'onCreate()':

            Source https://stackoverflow.com/questions/47562430

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install OCR-Reader

            You can download it from GitHub.
            You can use OCR-Reader like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the OCR-Reader component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/AmruthPillai/OCR-Reader.git

          • CLI

            gh repo clone AmruthPillai/OCR-Reader

          • sshUrl

            git@github.com:AmruthPillai/OCR-Reader.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Computer Vision Libraries

            opencv

            by opencv

            tesseract

            by tesseract-ocr

            face_recognition

            by ageitgey

            tesseract.js

            by naptha

            Detectron

            by facebookresearch

            Try Top Libraries by AmruthPillai

            Reactive-Resume

            by AmruthPillaiTypeScript

            ResumeOnTheWeb-Gatsby

            by AmruthPillaiJavaScript

            ResumeOnTheWeb

            by AmruthPillaiTypeScript

            fireup-cli

            by AmruthPillaiTypeScript

            ReelDB

            by AmruthPillaiHTML