Azzera filtri
Azzera filtri

How can I label images with numbers for the purposes of machine learning?

1 visualizzazione (ultimi 30 giorni)
I am new to MATLAB.
For example, if i have a series of images of jars with m&ms,
and i have the true number of visible m&ms per jar.
How do i label these so as to train a network
capable of taking an image as input
and yielding number of m&ms as output?

Risposte (1)

Peng Li
Peng Li il 29 Mar 2020
One solution is to save images with the same number of mms in one folder and name that folder with the number of mms. You can load these folders as an imagedatastore. It has property to specify classes as folder names.
I have a set of deep learning scrips with matlab that you may be interested in.
Check
https://github.com/pliphd/neural-network-and-deep-learning-with-MATLAB
  4 Commenti
MATMania
MATMania il 29 Mar 2020
thanks Peng. regression would be great i think. could you refer me to documentation thats good for regressing images to a integer value?

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by