Deep Learning in 11 Lines of MATLAB Code

Use MATLAB®, a simple webcam, and a deep neural network to identify objects in your surroundings.
19,1K téléchargements
Mise à jour 24 fév. 2017

Afficher la licence

Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week

MATLAB code associated with the demo in 'Deep Learning in 11 Lines of MATLAB Code' video.
https://www.mathworks.com/videos/deep-learning-in-11-lines-of-matlab-code-1481229977318.html
This demo uses AlexNet, a pretrained deep convolutional neural network (CNN or ConvNet) that has been trained on over a million images.
The example has two parts: setting up the camera and performing object recognition. The first part shows how to use the webcam command to acquire images from the camera. Using the drawnow command, MATLAB is able to continuously update and display images taken by the camera.
You can download the webcam support package here:
https://www.mathworks.com/matlabcentral/fileexchange/45182-matlab-support-package-for-usb-webcams

The second part illustrates how to download a pretrained deep neural network called AlexNet and use MATLAB to continuously process the camera images. AlexNet takes the image as input and provides a label for the object in the image. You can experiment with objects in your surroundings to see how accurate AlexNet is.

You can download the AlexNet support package here:
https://www.mathworks.com/matlabcentral/fileexchange/59133-neural-network-toolbox-tm--model-for-alexnet-network

Citation pour cette source

MathWorks Deep Learning Toolbox Team (2024). Deep Learning in 11 Lines of MATLAB Code (https://www.mathworks.com/matlabcentral/fileexchange/60659-deep-learning-in-11-lines-of-matlab-code), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2016b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

A inspiré : Training 3D CNN models

Community Treasure Hunt

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

Start Hunting!

WebcamObjectClassification/

Version Publié le Notes de version
1.0.0.0

Added link to demo video.
Updated image.