kyamagu / mexopencv

Collection and a development kit of matlab mex functions for OpenCV library
http://kyamagu.github.io/mexopencv
Other
661 stars 319 forks source link

Problem building Facemark #404

Closed KenMele closed 6 years ago

KenMele commented 6 years ago

Hi, I am having a problem building Facemark. When I try to compile, it throws errors in the mexfunction. In particular, it says that the member functions starting with addTrainingSample() line 432, are not in the class Facemark. They are in FaceRecognizer, but has something changed?

amroamroamro commented 6 years ago

I'm quoting the readme file:

The current version of mexopencv is compatible with OpenCV 3.4.0.

DO NOT use the "master" branch of opencv and opencv_contrib! Only the 3.4.0 release is supported by mexopencv.

Make sure you are compiling against the expected version.

You can find detailed build instructions in the wiki.

KenMele commented 6 years ago

Thanks that worked. It build like a champ!.