spmallick / learnopencv

Learn OpenCV : C++ and Python Examples
https://www.learnopencv.com/
21.04k stars 11.58k forks source link

.jpg.txt? #48

Open mcdulltii opened 6 years ago

mcdulltii commented 6 years ago

how did you convert the jpg files to a txt file, and why do you do so?

sebasobotka commented 6 years ago

Take a look at the file. There are 68 facial landmarks (x,y) from face detection inside the file.

Radilx commented 6 years ago

If you're using C++, check the closed Issues -- he responded there with the code. If you're using Python 3 like me, something like this should work (WARNING: really messy code, mostly for personal use).

ily19 commented 6 years ago

and how do you do to get these 68 points (landmarks )

xmalina commented 6 years ago

Thanks to @SM-Wistful , I was able to get to the bottom of this. Was pulling my hair out trying to figure that part out!

It's like a tutorial...with the most important part missing without it.