amlnn-model-playground/examples/ppocr-det
2026-02-24 19:41:14 +08:00
..
cpp feat: Update NNSDK path and library linking in CMake configurations and Android build script, and add a new script to build all Android examples. 2026-02-24 19:41:14 +08:00
model Upload first version 2026-01-06 10:29:54 +08:00
py Upload first version 2026-01-06 10:29:54 +08:00
README.md feat: Update NNSDK path and library linking in CMake configurations and Android build script, and add a new script to build all Android examples. 2026-02-24 19:41:14 +08:00

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-toolkit as a sibling to amlnn-model-playground:
    git clone git@github.com:Amlogic-NN/amlnn-toolkit.git ../amlnn-toolkit
    

Prerequisites:

  • Android NDK r25c
  • ANDROID_NDK_PATH environment 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/.