Visual Inspection Guided Example
Perform a common visual inspection workflow and identify defects based on the image content.
Perform a common visual inspection workflow and identify defects based on the image content.
To get started:
Don’t have access?
Need a refresher? Try a free, interactive tutorial.
imageDatastore
function automatically labels the images based on folder names.You can use the data and the modified network to train a new image classifer. There are a variety of training options from which to choose. The example used in this step is a simple training configuration that includes the optimizer, number of Epochs, initial learn rate, and plot. Training a model can take a lot of time depending on your GPU and CPU resources.
classify
function to classify all the images in one line of code.Key things to remember:
You can also follow along with the video below:
Thank you
Your message has been sent.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific