cmauri / eviacam

webcam based mouse emulator
GNU General Public License v3.0
143 stars 37 forks source link

The face localization option is off #26

Open adrianmay opened 4 years ago

adrianmay commented 4 years ago

When I start eviacam I get the above message and then it crashes. I have two cameras. It once asked me which to use before dying from opencv deprecating the main open-cam api, so I rebuilt against opencv 4.0.1, but it hasn't asked again which cam to use. I don't have any files in ~/.eviacam Arch linux. Built at d5db86053e5d8bd6359a8b22960aded2a5eeb78d against gtk 3.24.13, wxWidgets 3.1.3 for gtk3 and opencv 4.0.1

cmauri commented 4 years ago

The message is because eViacam is not able to find the haarcascade_frontalface_default.xml that comes with opencv. In visionpipeline.cpp:80-105 the searched paths are listed.