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
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