xiuos/APP_Framework/Applications/knowing_app/k210_detect_entry
chunyexixiaoyu b6bd1de959 APP_Framework/Applications/:eliminate the warning 2021-12-20 16:33:48 +08:00
..
Kconfig feat(knowing app): remove json config from menuconfig, adding to detect_app arg 2021-12-15 19:05:07 +08:00
README.md refactor(knowing app): add common k210 yolov2 detection procedure 2021-12-14 17:43:53 +08:00
SConscript fix(knowing framework): fix unproperly named k210 detect procedure, specified yolov2 2021-12-15 17:32:07 +08:00
face.json feat(knowing app): remove json config from menuconfig, adding to detect_app arg 2021-12-15 19:05:07 +08:00
face.kmodel refactor(knowing app): add common k210 yolov2 detection procedure 2021-12-14 17:43:53 +08:00
helmet.json fix(knowing framework/yolov2 region layer): free region layer thresholds 2021-12-16 15:03:37 +08:00
helmet.kmodel refactor(knowing app): add common k210 yolov2 detection procedure 2021-12-14 17:43:53 +08:00
instrusion.json feat(knowing app): remove json config from menuconfig, adding to detect_app arg 2021-12-15 19:05:07 +08:00
instrusion.kmodel refactor(knowing app): add common k210 yolov2 detection procedure 2021-12-14 17:43:53 +08:00
k210_detect_entry.c APP_Framework/Applications/:eliminate the warning 2021-12-20 16:33:48 +08:00

README.md

Face detection demo

A face object detection task demo. Running MobileNet-yolo on K210-based edge devices.


Training

kmodel from GitHub.

Deployment

compile and burn

Use (scons --)menuconfig in bsp folder (Ubiquitous/RT_Thread/bsp/k210), open:

  • More Drivers --> ov2640 driver
  • Board Drivers Config --> Enable LCD on SPI0
  • Board Drivers Config --> Enable SDCARD (spi1(ss0))
  • Board Drivers Config --> Enable DVP(camera)
  • RT-Thread Components --> POSIX layer and C standard library --> Enable pthreads APIs
  • APP_Framework --> Framework --> support knowing framework --> kpu model postprocessing --> yolov2 region layer
  • APP_Framework --> Applications --> knowing app --> enable apps/face detect

scons -j(n) to compile and burn in by kflash.

json config and kmodel

Copy json config for deployment o SD card /kmodel. Example config file is detect.json in this directory. Copy final kmodel to SD card /kmodel either.


Run

In serial terminal, face_detect to start a detection thread, face_detect_delete to stop it. Detection results can be found in output.