andrewssobral / vehicle_detection_haarcascades

Vehicle Detection by Haar Cascades with OpenCV
538 stars 518 forks source link

on Raspberry Zero #16

Open pmirla opened 6 years ago

pmirla commented 6 years ago

Has anyone seen this error?

(venv) pi@raspberrypi:~/myproject/vehicle_detection_haarcascades $ ./run_vehicle_detection_video1.sh Using OpenCV 3.3.1 Unable to stop the stream: Inappropriate ioctl for device vehicle_detection_haarcascades: /home/pi/myproject/vehicle_detection_haarcascades/vehicle_detection.cpp:36: int main(int, char**): Assertion `cascade && storage && capture' failed. ./run_vehicle_detection_video1.sh: line 2: 1504 Aborted ./build/vehicle_detection_haarcascades cars.xml dataset/video1.avi