使用方式:
git clone https://github.com/kekxv/ddddocr-mnn.git
cd ddddocr-mnn
git submodule update --init
mkdir build
cd build
cmake ..
make ocrCaptchaMnn
./ocrCaptchaMnn ../ocr.captcha.sim.mnn ../captcha.png
# 输出结果
模型来自: https://github.com/sml2h3/ddddocr
相关源码: OcrCaptcha.hpp main.cpp
执行结果