yuzhong-deng / DangerousSituationRecognition

1 stars 3 forks source link

DangerousSituationRecognition

Danger Recognition is a fall detection Android application based on a TEMI robot. It utilizes TEMI robot SDK and Tensorflow Lite Framework to realize functions.

Fig2

Significant parameters

Installation on TEMI

  1. Install Android Studio
  2. Open TEMI robot and its ADB port
  3. Connect your device with TEMI robot by ADB
  4. Clone this repo to local
  5. Open this project in Android Studio
  6. Run it on the TEMI robot

Customize Tensorflow Lite model

Previous work GLIS604Dangerous Situation Recognition YOLOV4 colab notebook for reference

  1. Label datasets
  2. Generate darknet custom data
  3. Train the datasets by the YOLOv4
  4. Convert the weights to TensorFlow .pb
  5. Convert the TensorFlow weights to TensorFlow Lite
  6. Application on Android (Requires modification in DetectorActivity file in this repo, A:YOLOv4 B: standard tensorflow lite weight )