Introduction
Cvitek provides TDL integration algorithms to reduce the time required for application development.
This architecture realizes the algorithm required by TDL, including its pre and post processing, and provides a unified and convenient programming interface.
At present, TDL SDK includes motion detection, face detection, face recognition, face tracking, pedestrian detection, semantic segmentation, license plate recognition, license plate detection, live recognition, IR live recognition, infant detection, cry detection, attitude detection, gesture detection, Gesture Recognition and other algorithms.
Compilation
The TDL-SDK program needs to be cross-compiled in the Linux environment of the PC host, such as Ubuntu 22.04 system.
Currently, there are two versions of OS for the Duo series board: V1 and V2. For related instructions, please refer to Official Image and SDK. The TDL-SDK for these two versions of OS is also different. The following describes the compilation methods of the TDL-SDK examples for these two versions of firmware.
TDL-SDK Examples for V1 OS Image
Download toolchain
wget https://sophon-file.sophon.cn/sophon-prod-s3/drive/23/03/07/16/host-tools.tar.gz
Extracting Toolchain:
tar xvf host-tools.tar.gz
Enter the toolchain directory and export the toolchain path to the environment variable:
cd host-tools
export PATH=$PATH:$(pwd)/gcc/riscv64-linux-musl-x86_64/bin
Verify that the toolchain is available:
riscv64-unknown-linux-musl-gcc -v