Skip to content

vifly/chineseocr-lite-ncnn

Repository files navigation

Requirements

  • C++ compiler support C++ 14
  • CMake (at least 3.19)
  • OpenMP
  • OpenCV
  • glslang (if you need to build ncnn)
  • protobuf (if you need to build ncnn)
  • ncnn
  • args-parser

Build

If you doesn't install args-parser or ncnn, run:

git submodule update --init --recursive
mkdir build && cd build
# Arch user can run `cmake .. -DUSE_SYSTEM_NCNN=ON` to use system ncnn
cmake ..
make

Run

cd build
./chineseocr-ncnn -i ../test.jpg -l 600

# See usage
./chineseocr-ncnn -h

Credit

About

A lightweight Chinese OCR application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published