Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear
- camera = webcam
- nnet = alexnet;
- while true
- picture = camera.snapshot;
- picture = imresize(picture, [227, 227]);
- label = classify(nnet, picture);
- image(picture);
- title(char(label));
- drawnow;
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement