Skip to content

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices). Now as a standalone executable!

License

Notifications You must be signed in to change notification settings

timminator/PaddleOCR-Standalone

 
 

Repository files navigation

Now as a Standalone executable!

ℹ About

This repository provides executables (CPU and GPU version) that can be run without having python or any other packages installed. They behave as the original PaddleOCR install for example via pip.

You can decide between installing it via the setup installer or just downloading the folder with all the required files including the executable.
The installer also allows you to add the install location to you path which allows you to use paddleocr from every location.

It also provides C++ executables (CPU and GPU version).

Not only are the Standalone versions easier to setup, they also perform way better than PaddleOCR via Python. The following table shows the time to process 250 subtitles:

Version GPU (Batch) CPU (Batch)
Python 12s 79s
Python Standalone 10s 28.6s
C++ Standalone 9s 24.5s

Usage

If you installed PaddleOCR via the setup wizard and added it to your Path you can just open a terminal and run the following command:

paddleocr -h

If you downloaded the 7zip file, unzip it to your desired location and open a terminal in there. Afterwards you can run the following command:

.\paddleocr.exe -h

If you downloaded one of the 7zip files of the C++ version, unzip it to your desired location and open a terminal in there. Afterwards you can run the following command:

.\paddleocr.exe -help

Notes

  • Don't be confused when it takes a longer time to start when running it the first time, especially when using the GPU version. This is the normal behavior. Afterwards it runs normally.

  • Please only report bugs that are specific to this standalone executable and are working correctly in the original repository.

  • A few changes had to be made to the source code to allow the creation of this executable (Python version). They can be viewed in the PaddleOCR-Standalone folder.

  • The output behavior of the C++ executables is slightly modified as well. Originally it only printed the results when all images where processed. This was updated to print the result as soon as an image is processed. Furthermore was the output updated to look more in line with the output from the Python version.
    Changes can be viewed in the PaddleOCR-Standalone -> C++ folder.

  • Setup installers for the C++ versions are not provided because they are not very user friendly and should only be used if you are interested in tinkering around and want maximum performance.

Introduction

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

📣 Recent updates (more)

📚 Documentation

Full documentation can be found on docs.

🌟 Features

PaddleOCR support a variety of cutting-edge algorithms related to OCR, and developed industrial featured models/solution PP-OCRPP-Structure and PP-ChatOCR on this basis, and get through the whole process of data production, model training, compression, inference and deployment.

It is recommended to start with the “quick experience” in the document tutorial

📖 Technical exchange and cooperation

PaddleX provides a one-stop full-process high-efficiency development platform for flying paddle ecological model training, pressure, and push. Its mission is to help AI technology quickly land, and its vision is to make everyone an AI Developer!

  • PaddleX currently covers areas such as image classification, object detection, image segmentation, 3D, OCR, and time series prediction, and has built-in 36 basic single models, such as RP-DETR, PP-YOLOE, PP-HGNet, PP-LCNet, PP- LiteSeg, etc.; integrated 12 practical industrial solutions, such as PP-OCRv4, PP-ChatOCR, PP-ShiTu, PP-TS, vehicle-mounted road waste detection, identification of prohibited wildlife products, etc.
  • PaddleX provides two AI development modes: "Toolbox" and "Developer". The toolbox mode can tune key hyperparameters without code, and the developer mode can perform single-model training, push and multi-model serial inference with low code, and supports both cloud and local terminals.
  • PaddleX also supports joint innovation and development, profit sharing! At present, PaddleX is rapidly iterating, and welcomes the participation of individual developers and enterprise developers to create a prosperous AI technology ecosystem!

📚 E-book: Dive Into OCR

📄 License

This project is released under Apache License Version 2.0.

About

Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices). Now as a standalone executable!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 75.5%
  • C++ 13.8%
  • Shell 5.5%
  • Java 2.7%
  • Inno Setup 0.5%
  • CMake 0.4%
  • Other 1.6%