Open apaikan opened 8 years ago
@apaikan thank you for installing and configuring the whole system. I see that you are facing some problem getting CLMH to work. As you can see in the repo the most recently updated code is CLMH. And that is because we did some experiments with @hagenlehmann and we were constantly updating the code (I prefer using simpleCLM and CLMYARP just to confirm that the system is working properly).
If the same error of CLMGAZE happens when using CLMH, I can guess that either of the followings is probable:
Could you check the following points?
You should change the camera parameters for a 640x480 resolution. I suggest even try with the 320x240 first, to make sure everything is working correctly. Some of the camera parameters in the code are from different iCubs.
the module can use two different face detectors, you can check if the error persists with the other one as well (Line 261). Make sure that the face detector is loaded. There is a big issue regarding this with OpenCV 3.0.0
The CLMYARP module works correctly and detect the faces.
But the CLMGaze and CLMH crash on "DetectLandmarksInVideo" throwing the following exception (for CLMGaze):
The camera image size is 640x480!