How can I label images with numbers for the purposes of machine learning?
1 view (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Peng Li
on 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
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!