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

6 vues (au cours des 30 derniers jours)
MATMania
MATMania le 29 Mar 2020
Commenté : Peng Li le 30 Mar 2020
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?

Réponses (1)

Peng Li
Peng Li le 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 commentaires
MATMania
MATMania le 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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by