Detecting Object for Vehicle Blind Spot by M5StickV
2020-04-08 | By M5Stack
License: General Public License
* Thanks for the source code and project information provided by @Minoru Inoue
Introduction
Some of the car accidents have disappeared due to pedestrians and cars entering the blind spot of the driver. So, I decided to make cheap a system detecting vehicle and person by M5StickV and V-Training.
Requirement definition
- 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.
How do it?
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.
See also https://docs.m5stack.com/#/en/related_documents/v-training.
If your 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-training system. Please zip two folders for one achive and send this form(http://v-training.m5stack.com/) with your email address. And waiting about 30 minutes!
After 30 minutes, V-Training result will be send your email address.
Finally, please backup your microSD and remove any file. If your 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!
Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.
Visit TechForum