open-ocr | Run your own OCR-as-a-Service using Tesseract and Docker

 by   tleyden Go Version: release/1.0.2 License: Apache-2.0

kandi X-RAY | open-ocr Summary

kandi X-RAY | open-ocr Summary

open-ocr is a Go library. open-ocr has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

OpenOCR makes it simple to host your own OCR REST API. The heavy lifting OCR work is handled by Tesseract OCR. Docker is used to containerize the various components of the service.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              open-ocr has a medium active ecosystem.
              It has 1282 star(s) with 221 fork(s). There are 69 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 34 open issues and 77 have been closed. On average issues are closed in 151 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of open-ocr is release/1.0.2

            kandi-Quality Quality

              open-ocr has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              open-ocr is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              open-ocr releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 1759 lines of code, 79 functions and 24 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of open-ocr
            Get all kandi verified functions for this library.

            open-ocr Key Features

            No Key Features are available at this moment for open-ocr.

            open-ocr Examples and Code Snippets

            No Code Snippets are available at this moment for open-ocr.

            Community Discussions

            QUESTION

            How to construct correct MultipartEntity to send a multipart/related request in java?
            Asked 2019-Feb-18 at 12:55

            I want to send to OCR image from local computer, not some remote url with image there (this case working great). But the problem is, I don't know how construct correctly payload of multipart entity. My payload should be looking as it described below.

            This's what described in documentation of API. Decode the image data given directly in the multipart/related data. The order is important, and the first part should be the JSON, which tells it which OCR engine to use. The schema for thi JSON is documented in the /ocr endpoint. The img_url parameter of the JSON will be ignored in this case.

            The image attachment should be the second part, and it should work with any image content type (eg, image/png, image/jpg, etc).

            ...

            ANSWER

            Answered 2019-Feb-18 at 12:55

            I resolved this problem a few weeks ago and for convenience created a lightweight java web application for both cases (remote and file upload).

            You can find the particular answer for the question above here. The source code for a multipart request is shown below:

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

            QUESTION

            Docker containers using AWS cloudformation
            Asked 2018-Jan-08 at 15:58

            I tried the instructions mentioned here...

            https://github.com/tleyden/open-ocr/wiki/Installation-on-CoreOS-Fleet

            This will initiate OCR API using tessaract package. But I am not able to start the services.

            ...

            ANSWER

            Answered 2018-Jan-08 at 15:58

            Once everything is provisioned, the CloudFormation part is done and the CloudFormation logs will only tell you about provisioning information. So the issue here is with the actual software and not with CloudFormation.

            That being said, I happen to be quite experienced with Fleet and to get the logs for these services there's a couple things you can do.

            First, try to query the logs using:

            fleetctl journal httpd.service, fleetctl journal worker.1.service, etc.

            If that doesn't work, try to SSH into one host and use: journalctl -u httpd.service

            As final note, I don't know if you want to run this inside a production environment but I think you should know that fleetd is being deprecated.

            fleet is no longer developed or maintained by CoreOS. After February 1, 2018, a fleet container image will continue to be available from the CoreOS Quay registry, but will not be shipped as part of Container Linux. CoreOS instead recommends Kubernetes for all clustering needs.

            If I were you, I'd look for a similar solution running on either Kubernetes or AWS ECS.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install open-ocr

            See Installing Docker on Ubuntu instructions.

            Support

            See the REST API docs and the Go REST client for details.
            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/tleyden/open-ocr.git

          • CLI

            gh repo clone tleyden/open-ocr

          • sshUrl

            git@github.com:tleyden/open-ocr.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