Info

此问题已关闭。 请重新打开它进行编辑或回答。

How do I solve this?

1 次查看(过去 30 天)
Syafiqah Daud
Syafiqah Daud 2018-6-19
关闭: MATLAB Answer Bot 2021-8-20
Hi, I'm new and is unsure on how to apply to do google net. I've tried this code and received some errors.
clear
camera = webcam; % Connect to the camera nnet = googlenet; % Load the neural net
while true
picture = camera.snapshot; % Take a picture
picture = imresize(picture,[227,227]); % Resize the picture
label = classify(nnet, picture); % Classify the picture
image(picture); % Show the picture
title(char(label)); % Show the label
drawnow;
end
  1 个评论
Guillaume
Guillaume 2018-6-19
I've tried this code and received some errors
Then give us the exact text of the errors (everything in red).

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by