Use pretrained neural networks such as googlenet or nasnetlarge to classify objects in Webcam Matlab
Change Line 8 to you desired pretrained neural network from https://la.mathworks.com/help/deeplearning/ug/pretrained-convolutional-neural-networks.html