-
Install OpenCV library from the official site http://opencv.org/
-
Inside Bodydetection.cpp you have to modify the path of haar classifier
-
Default setting use local camera not ip camera, so if you want to use ip camera,in the function vcap.open(0) you have to insert inside brackets videoStreamAddress instead of 0
At first go inside the folder Bodyd using :
cd Bodyd
than write these commands in the console:
cmake .
make
./Bodyd
in this way you can run the Body detection software part.