Problem in creating image database file.
Ältere Kommentare anzeigen
Hi,
I am trying to code face key points detector using Matlab using NN toolbox. Training text file is of form (string path of face image followed by 4 integers-bounding box):
foldername\filename_0001.jpg 84 92 161 169
5000 rows like this.
How do I create mat file of this cropped face images and pass on as input to network?
Antworten (1)
Walter Roberson
am 13 Mai 2016
1 Stimme
You would imread() each, imcrop(), reshape as a vector, add it to a column to a matrix you are building up. The completed matrix would be passed as the inputs for the neural network.
2 Kommentare
Sam
am 13 Mai 2016
Bearbeitet: Walter Roberson
am 13 Mai 2016
Walter Roberson
am 13 Mai 2016
Multiply by 39/250
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!