Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1117

Parsing error lbfmodel.yaml file in android

$
0
0
I am trying to detect facial points using FacemarkLBF in android app. I have downloaded the lbfmodel.yaml model file from [here](https://github.com/kurnianggoro/GSOC2017/raw/master/data/lbfmodel.yaml) and stored it in sdcard. When trying to load the model file, it is throwing error : > Error: Parsing error (/data/data/com.ds.openworld/app_model/lbfmodel.yaml(12): Invalid `dt` in Base64 header) in char* icvYMLParseBase64(CvFileStorage*, char*, int, CvFileNode*), file ../../modules/core/src/persistence_yml.cpp, line 102 I have also tried to save file as text and xml as stated [here](https://github.com/kurnianggoro/GSOC2017) in issue no 5. I searched a lot but could not found any solution. Is this error related data types? what is 'dt'? The error while parsing is at line in the model like : > dt: d It is working for Berak in desktop sample as stated here in the comments [Error while loading YAML model file using opencv in android](http://answers.opencv.org/question/204585/error-while-loading-yaml-model-file-using-opencv-in-android/) But it is not working in android. Plz help!!

Viewing all articles
Browse latest Browse all 1117