Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

4C for Solution Challenge 2022

receiver App of 4-C

Getting Started

Step 1: prepare edge device(the following items are what we need)

  1. raspberry pi 4
  2. RPi Camera V2
  3. ESP-S3-12K
  4. Darlington High Power Transistor
  5. SparkFun 2-screws Terminal Block
  6. Slide Switch
  7. SparkFun 20x2 Female Pin Header
  8. 12v 5A power supply
  9. Jumper wires (generic)

Step 2: install linux system in raspberry pi 4

We use ubuntu system to run our model

  1. We install ubuntu in a micro sd card, then we put that sd card into raspberry pi 4.

Step 3: install Yolo v4 in raspberry pi 4

  1. install cuda and cudnn
  2. install openCV
  3. install darknet From pjreddie/darknet on github
  4. use terminal to run openCV with yolo From pjreddie/darknet on github

We can see how fast yolov4 is with this picture

Step 4: We use ESP to connect App with Wi-Fi

We use Pyrebase to connect raspberry pi and firebase

Resource: thisbejim/Pyrebase

Step 5: Custom Yolo to make it can predict crashes

  1. We use opensource labeling tool to make customized data
  2. We use those data to train our yolov4 model and update weight
  3. We use openCV with Yolov4 to predict collision

Algorithm is from the following link

Detect vehicles speed from CCTV Cameras with Opencv and Deep Learning

Tutorial resource is from the following link

Train a custom YOLOv4 object detector on Linux

The following picture is sreenshot from edge device

our edge device can run with yolov4 now

App

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages