uricamic / clandmark

Open Source Landmarking Library
http://cmp.felk.cvut.cz/~uricamic/clandmark
GNU General Public License v3.0
199 stars 111 forks source link

How to use flandmark_simple_example on new dataset [MATLAB] #60

Open DanielSan1234 opened 8 years ago

DanielSan1234 commented 8 years ago

I would use flandmark_simple_example on my dataset. I have the images jpg in my dataset, but I don't have the .det. Is it possible obtain automaticaly the files .det by the images .jpg?

uricamic commented 8 years ago

Hi @DanielSan1234,

sure, you can use e.g. the Viola-Jones face detector to obtain the face boxes (see http://www.mathworks.com/help/vision/ref/vision.cascadeobjectdetector-class.html), just bear in mind that the format of face bbox for CLandmark is [x_min, y_min, x_max, y_max] unlike the MATLAB face detector which has [x, y, width, height].

DanielSan1234 commented 8 years ago

Hi @uricamic,

thank you for response!