You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
yangtuo250 78387f9b16 fix(knowing app): fix 3 k210 knowing apps according to 'add a interface about k210 dvp image setting' by tian chunyu 1 year ago
..
Kconfig APP_Framework/lib/:add cJSON library 1 year ago
README.md docs(knowing app): add README for face detect 1 year ago
SConscript APP_Framework/Applications/:add face detect application 1 year ago
detect.json fix(knowing apps): adapting new cjson lib usage and some little bug fix 1 year ago
detect.kmodel feat(knowing app): update json config and upload model for 3 k210 apps 1 year ago
face_detect.c fix(knowing app): fix 3 k210 knowing apps according to 'add a interface about k210 dvp image setting' by tian chunyu 1 year ago

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.