Openmv implements target detection through IMPULSE training model

Openmv neural network

foreword

openmv4plus can carry out neural network learning and realize target detection. It has learned K210 target detection and machine learning for target detection before. Use openmv4plus for object detection today.

I have done a lot of understanding before learning, openmv is really convenient for target detection.

1. Cloud training

URL: IMPULSE URL

2. Operation steps

1. Collection of data sets

insert image description here
Create a new folder to store the data set.
insert image description here
Create a new folder and enter the category name
insert image description here
insert image description here
to collect the data set. After the collection is completed, the corresponding folder will display the data set
insert image description here

2. Upload dataset

insert image description here
It can be uploaded through the API key, and the computer firewall needs to be turned off, otherwise an error will be prompted. Here is another upload method.

First select Data acquisition, click the arrow to the left of Collected data (Upload existing data).
insert image description here
Select the corresponding file (Ctrl+A to select all)
insert image description here
, select Enter label, and enter the name of the category to be classified (note that the training model must have two or more categories).
insert image description here
If there are many categories, upload them one at a time.
insert image description here

3. Training model

1. Create a model

Click Impulse design - Create impulse, and select the configuration according to the figure
insert image description here

2. Parameter generation

insert image description here
insert image description here
insert image description here

3. Start training

insert image description here
These settings can be set by default. Of course, the more learning rounds, the better. During the training process, the IMPULSE platform will automatically stop the training to prevent overfitting if the training effect is good.

4. Model testing

insert image description here

5. Export the model

insert image description here

6. Effect test

Copy the exported file to openmv and
insert image description here
run the PY file

Summarize

The neural network training model using Openmv is probably these, and the method is very simple.

Guess you like

Origin blog.csdn.net/qq_51963216/article/details/122797590