I am currently doing a project to detect vehicles using google net, and my google net recognizes a car as a "sports car" however I would want it to be recognize as "Vehicle". How do I achieve that?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
clear
camera = webcam; % Connect to the camera net = googlenet; % Load the neural net net.Layers
while true picture = camera.snapshot; % Take a picture sz = net.Layers(1).InputSize ; picture = picture(1:sz(1),1:sz(2),1:sz(3));% Resize the picture
label = classify(net, picture); % Classify the picture
image(picture); % Show the picture
title(char(label)); % Show the label
drawnow;
end
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!