Object detection based on CNN in matlab

Illustration
samira-bellil - 2021-06-15T12:15:29+00:00
Question: Object detection based on CNN in matlab

I want to build an object recognition system based on CNN. I've collected a database, and I want to apply the steps mentioned in the following example:   https://www.mathworks.com/help/vision/examples/object-detection-using-faster-r-cnn-deep-learning.html   In this example, there is this code that aims to load the vehicle data :   data = load('fasterRCNNVehicleTrainingData.mat'); vehicleDataset = data.vehicleTrainingData; I want to know how can I create this file for my dataset.

Expert Answer

Profile picture of John Michell John Michell answered . 2025-11-20

Hope this answer may help other ppl'
 
To create this kind of data, use the command "trainingImageLabeler", then you can upload the images that you want to label and then create your own labels.After finish, you can export the database to a table in the workspace and the save it.
If you want to use a CNN unless a R-CNN type network, you need to use a "Regression layer". For further information, you can check the examples over the matlab folder.


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!