// detect faces Hi I am facing exception when I trying to load FaceLandMark Model using loadModel, Can you please help here,
Code: cascade.detectMultiScale(img, faces); // setup landmarks detector Facemark fm = Face.createFacemarkKazemi(); fm.loadModel("C:\Users\Jayashree\Desktop\Faces_Oct18th\model\flandmark_model.dat");
Exceptions as below: Exception in thread "main" java.lang.Exception: std::exception: bad allocation at org.opencv.face.Facemark.loadModel_0(Native Method) at org.opencv.face.Facemark.loadModel(Facemark.java:49) at opencv3433.FaceLandMark1.main(FaceLandMark1.java:61)