Problem in creating image database file.
Afficher commentaires plus anciens
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?
Réponses (1)
Walter Roberson
le 13 Mai 2016
1 vote
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 commentaires
Sam
le 13 Mai 2016
Modifié(e) : Walter Roberson
le 13 Mai 2016
Walter Roberson
le 13 Mai 2016
Multiply by 39/250
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!