| .. | ||
| cpp | ||
| model | ||
| py | ||
| README.md | ||
PaddleOCR Detection
4. Demo Run
CPP
1. Compile
AMLNN SDK Setup
Resolve the AMLNN nnsdk dependency using one of the following methods:
- Priority 1 – Environment variable (recommended)
export AMLNN_HOME=/path/to/amlnn-toolkit - Priority 3 – Sibling directory fallback (automatic)
Place
amlnn-toolkitas a sibling toamlnn-model-playground:git clone git@github.com:Amlogic-NN/amlnn-toolkit.git ../amlnn-toolkit
Prerequisites:
- Android NDK r25c
ANDROID_NDK_PATHenvironment variable set
Build:
# Build for arm64-v8a
cd examples/ppocr-det/cpp
./build-android.sh -a arm64-v8a
The executable will be generated in build/android/.