Some of the car accidents have disappeared due to pedestrians and cars entering the blind spot of the driver. So, I decided make cheap system detecting vehicle and person by M5StickV and V-Training.
- The driver cannot take action on the system because it is assumed that the car is driven.
- When a pedestrian or car enters the driver's blind spot, it notifies the driver accordingly.
- No wiring to the car.
Inferring by taking more than 35 sample images from a camera using a program provided by M5Stack and sending them to a system called V-Train can be solved detection.
If you detection vehicle and people, you must take picture vehicle and people. So, this service is useful which getting sample data.
First, get boot.zip for V-Train. The source is the following website(https://docs.m5stack.com/#/en/related_documents/v-training?id=material-training). If the M5StickV firmware is not latest, please update it according to the procedure on the following website(https://docs.m5stack.com/#/en/related_documents/v-training?id=burner-firmware).
Second, you must take picture vehicle and people. If you got any driving movie file, it's very useful for getting any sample.
- OXFORD ROBOTCAR DATASET https://robotcar-dataset.robots.ox.ac.uk/datasets/
- APOLLOSCAPE-carinstance http://apolloscape.auto/car_instance.html
Here, an example of the acquired picture is shown.
I define class 1 is people and class 2 is vehicle. And I got picture more than 100 per class. If you need accuracy, please get more picture.
Third, you must send SD data(train and valid) V-traing system. Please zip two folder for one achive and send this form(http://v-training.m5stack.com/) with your email address. And waiting about 30 minites!
After 30 minutes, V-Training result will be send your email address.
Finally, Please backup your microSD and remove any file. If you satisfaction accuracy, copy your kmodel file and boot.py which is release in here. Current boot.py is not load your kmodel file. So, please change XXXXXX.kmodel to your kmodel file's name.
Please insert your micro SD to M5Stack and boot by power button. Detection will be run!
M5StickV's LED is blinking any color by changing focused object.
- Adding blinking somewhere by Obniz and Node-RED(enebular)