PaddleOCR | Awesome multilingual OCR toolkits based on PaddlePaddle | Machine Learning library

 by   PaddlePaddle Python Version: 2.7.5 License: Apache-2.0

kandi X-RAY | PaddleOCR Summary

kandi X-RAY | PaddleOCR Summary

PaddleOCR is a Python library typically used in Artificial Intelligence, Machine Learning, Deep Learning, Pytorch applications. PaddleOCR has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can install using 'pip install PaddleOCR' or download it from GitHub, PyPI.

PaddleOCR aims to create multilingual, awesome, leading, and practical OCR tools that help users train better models and apply them into practice.

            kandi-support Support

              PaddleOCR has a medium active ecosystem.
              It has 31086 star(s) with 6338 fork(s). There are 404 watchers for this library.
              There were 4 major release(s) in the last 6 months.
              There are 1719 open issues and 5651 have been closed. On average issues are closed in 83 days. There are 154 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PaddleOCR is 2.7.5

            kandi-Quality Quality

              PaddleOCR has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              PaddleOCR 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

              PaddleOCR releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              PaddleOCR saves you 6686 person hours of effort in developing the same functionality from scratch.
              It has 33455 lines of code, 1199 functions and 201 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed PaddleOCR and discovered the below as its top functions. This is intended to give you an instant insight into PaddleOCR implemented functionality, and help decide if they suit your requirements.
            • Train a model
            • Convert preds to float32
            • Build the laloader
            • Evaluate a model
            • Create a predictor
            • Get output tensors
            • Return the current GPU id
            • Evaluate the image
            • Return the intersection of two polygons
            • Run the analysis
            • Recognize the image
            • Run soft_nms algorithm
            • Get the warp transformation matrix
            • Sort boxes according to layout
            • Generate one - hot attention layer
            • Process start tag
            • Match all match results
            • Recognize the table
            • Evaluate E2EE evaluation
            • Export a single model
            • Mouse move event handler
            • Preprocess training
            • Export the label
            • Load function label annotations
            • Evaluate E2E
            • Generate a configuration dictionary
            Get all kandi verified functions for this library.

            PaddleOCR Key Features

            No Key Features are available at this moment for PaddleOCR.

            PaddleOCR Examples and Code Snippets

            copy iconCopy
            HTMLdot img2Lines of Code : 37dot img2no licencesLicense : No License
            copy iconCopy
             * Debugger is active!
             * Debugger PIN: 109-572-001
             * Running on (Press CTRL+C to quit)
              "服务状态": "success",
              "识别时间": "3.2900s",
              "识别结果": [
            Pythondot img3Lines of Code : 13dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            git clone
            mkdir models
            cd models
            tar -xf ch_PP-OCRv3_det_distill_train.tar
            wget https://paddleocr.  

            Community Discussions


            sed replace line by escaping special chars
            Asked 2022-Mar-07 at 15:21

            I am trying to replace lines using sed, and usually this works fine, but I am now encountering a string which does not seem to play ball with sed :(




            Answered 2022-Mar-07 at 14:41

            I think your first " should be a '

            Also, you need to escape the \ which aren't part of the sed syntax e.g.:



            OCR - How to recognize numbers inside square boxes using python?
            Asked 2021-Nov-01 at 15:01

            one problem with optical character recognition (ocr) is it can't recognize numbers properly when numbers are inside square boxes. one failure example with tesseract is discussed here : Tesseract - How can I recognize numbers in box? i was testing with paddleocr here : you can quickly try that api too,,for this input image :

            it returns nothing..

            again when i try image like this :

            it returns all the numbers successfully.most of the times these number recognition(both printed and handwritten) failing when they are inside square boxes.for recognizing numbers inside square boxes we need to convert these so called numbers in box image into numbers in image by removing all the square boxes. i have some images like below :

            see, the full square box outside numbers are not fully visible,,only some part of the square boxes are visible.i want to convert these images into image where i will have only the numbers by removing square boxes or some part of square boxes that is present in these images after then hopefully number/digit recognition will work. i tried this code :



            Answered 2021-Nov-01 at 15:01

            the code below for me is doing decent job but it's hyper parameter sensitive :



            PaddleOCR error OSError: [WinError 126] The specified module could not be found
            Asked 2021-Oct-01 at 15:10

            I'm currently trying to run a piece of code using PaddleOCR, but I'm stuck at importing PaddleOCR. It gives me the error OSError: [WinError 126] The specified module could not be found.



            Answered 2021-Oct-01 at 15:10

            conda install -c conda-forge shapely

            resolved by this line of code


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


            No vulnerabilities reported

            Install PaddleOCR

            You can install using 'pip install PaddleOCR' or download it from GitHub, PyPI.
            You can use PaddleOCR like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.


            Scan the QR code below with your Wechat, you can join the official technical discussion group. Looking forward to your participation.
            Find more information at:

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

            Find more libraries
          • PyPI

            pip install paddleocr

          • CLONE
          • HTTPS


          • CLI

            gh repo clone PaddlePaddle/PaddleOCR

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link