OpenCV waitKey() throws assertion: Rebuild the library with Windows, GTK+ 2.x or Cocoa support – Ubuntu
I have trained a certain model and have the weights (weight.pt) and am able to detect objects from images and videos, but the problem is the webcam is not opening. In google collab to train my model !git clone https://github.com/ultralytics/yolov5…