AhmadYahya97 / Fully-Automated-red-light-Violation-Detection

Detecting and Tracking the violating cars using yolov3 model and various image processing techniques.
35 stars 24 forks source link

Install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage' #5

Open rutuja1409 opened 4 years ago

rutuja1409 commented 4 years ago

cv2.error: OpenCV(4.2.0) C:\projects\opencv-python\opencv\modules\highgui\src\window.cpp:651: error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'

I am gettting this error in Windows while running python yolo_video_new.py --input videos/aziz1.MP4 --output output/aziz1.avi --yolo yolo-coco. Can anyone please help me with this.? Thank you