EnoxSoftware / HoloLensWithOpenCVForUnityExample

HoloLens With OpenCVforUnity Example (Support for Hololens1 and Hololens2)
MIT License
265 stars 50 forks source link

Face recognition is not working #13

Closed dzak83 closed 6 years ago

dzak83 commented 6 years ago

Hi, I followed the exact steps to get the setup but I can't get the face recognition to work. All other examples are fine. The only difference might be the current version of OpenCV for Unity as I don't think I can get that older version 2.2.1.

Any ideas what to check? Example like HoloLensPhotoCaptureExample is taking picture but it doesn't select faces.

EnoxSoftware commented 6 years ago

Does 'haarcascade_frontalface_alt.xml' and 'lbpcascade_frontalface.xml' exist in the 'Assets/StreamingAssets/' folder?

dzak83 commented 6 years ago

Yea, I think it was about those missing files. I also did few other changes so I can't confirm but that it's the most likely. Thanks for replying so quickly!