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.
Documents
Chinese Version(中 文版) | 格式 | English Version | Format | ||
深度学习SDK软件开发指南 | html | TDL SDK Software Development Guide | html | ||
YOLO系列开发指南 | html | YOLO Development Guide | html |
Compilation
The TDL-SDK program needs to be cross-compiled in the Linux environment of the PC host, such as Ubuntu 22.04 system.
-
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/binVerify that the toolchain is available:
riscv64-unknown-linux-musl-gcc -v
The version information of the cross-compilation tool chain can be displayed normally, that is, the toolchain is available:
$ riscv64-unknown-linux-musl-gcc -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-linux-musl-gcc
...
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.0 (Xuantie-900 linux-5.10.4 musl gcc Toolchain V2.6.1 B-20220906) -
Compile cvitek-tdl-sdk
Download the TDL-SDK source code, the Duo and Duo256M/DuoS repositories are different:
-
Duo:
git clone https://github.com/milkv-duo/cvitek-tdl-sdk-cv180x.git
cd cvitek-tdl-sdk-cv180x -
Duo256M 和 DuoS:
git clone https://github.com/milkv-duo/cvitek-tdl-sdk-sg200x.git
cd cvitek-tdl-sdk-sg200xIf the repositories code is updated, you can execute
git pull
in the code directory to pull the latest code, such as Duo256M and DuoS:cd cvitek-tdl-sdk-sg200x
git pull
-