Problem in creating image database file.
Show older comments
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?
Answers (1)
Walter Roberson
on 13 May 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 Comments
Sam
on 13 May 2016
Edited: Walter Roberson
on 13 May 2016
Walter Roberson
on 13 May 2016
Multiply by 39/250
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!