Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.face.LBPHFaceRecognizer.create_5()J
at org.opencv.face.LBPHFaceRecognizer.create_5(Native Method)
at org.opencv.face.LBPHFaceRecognizer.create(LBPHFaceRecognizer.java:513)
at com.example.opencvdemo.test.FaceTrain.train(FaceTrain.java:37)
at com.example.opencvdemo.test.FaceTrain.main(FaceTrain.java:26)
你看下是不是在contrib包里面的东西,如果是的话你的opencv需要编译才行。或者是你的模型没有下载,模型加载失败?