kurnianggoro / GSOC2017

130 stars 102 forks source link

Loading problem on the pre-trained model of face landmark #1

Open ckzbullbullet opened 6 years ago

ckzbullbullet commented 6 years ago

I downloaded the newest face landmark model "lbfmodel.yaml". I used OpenCV 3.4.1 and the same version of OpenCV-contrib. However, when I loaded and used the model on an image, I got the error: OpenCV(3.4.1) Error: Parsing error (C:/cv341/data/face-alignment/model/lbfmodel.yaml(805185): Unexpected end of line) in icvYMLGetMultilineStringContent, file c:\opencv_with_extra\sources\opencv\modules\core\src\persistence_yml.cpp, line 79 It looks like that the error is about the model file. Did I do anything wrong?

kurnianggoro commented 6 years ago

According to the error it is about the model file. Maybe you downloaded incorrectly or copy pasted from the web page and put more space/new line. I don't think the problem is in the uploaded model file itself as it featured in tutorial website, you can also try this model. I did not try with version 3.4.1 anyway, so let me know if you still have problem.

kzcawareness commented 6 years ago

Thanks for the shared model. This one works.