Java OpenCV 3.4.0 Facemark Issue
Hi everyone,
I am trying to try out the new Facemark facial landmark functions (thanks for adding these!!!) using Java OpenCV 3.4.0. I downloaded the latest source today from OpenCV github master repo and contrib repo and then generated the Java wrappers using them. I have ran into some problems, and I am unsure if these problems are being caused by some build issue which I need to resolve or some other issue.
The Facemark classes are listed within my library but they are missing most of their methods. I also noticed that the Face class contains some methods which might belong in the Facemarck classes. See below:
While the Facemark class seems to be messed up, other Face classes, such as BIF, seem to be okay.
Does anyone know what might be causing this issue? Was it a build issue?
Any help resolving this issue would be much appreciated!!
yea, the java/python wrappers arent ready yet.
maybeyou can try this initial attempt(just swap the header, rebuild, and see, what comes out if it, maybe ?)
((again, work in progress, and only the kazemi one, as of now, and you'll still have to do your own face detection))Thanks @berak ! I will give it a try
I tried to rebuild using visual studio and the swapped out file but ran into some errors :(
Error LNK1181 cannot open input file '....\lib\Release\opencv_face340.lib' opencv_test_face ...\OpenCV\build\modules\face\LINK 1
Error LNK1181 cannot open input file '....\lib\Release\opencv_face340.lib' opencv_java ...\OpenCV\build\modules\java\LINK 1
Error C2259 'cv::face::FacemarkKazemiImpl': cannot instantiate abstract class opencv_face ...\OpenCV\opencv_contrib-master\modules\face\src\face_alignment.cpp 187