Najam Syed
Najam Syed
Hi @VincentDuf, That error sounds like it's being caused by the shell trying to execute the file (instead of running it with Python). Are you running it using the command...
I don't know for certain if this will help, but I found that calling cv2.waitKey() from multiple threads caused issues, which is why I ended up removing the call from...
I'm not sure exactly what the issue is, but it's probably a thread safety issue. Will have to look into it a bit more, though I don't have experience with...
I haven't used IP cameras myself, but I came across this SO question that suggests you need to provide the URL/IP address of the IP cam: https://stackoverflow.com/questions/49978705/access-ip-camera-in-python-opencv Let me know...
I'm not familiar with this error. Based on a search and the stack trace, it seems like it's related to macOS and Qt, which I don't have experience with. Maybe...
Hey @rubeea, glad you found it useful. The actual inference takes place in the [Detector.detectVideo](https://github.com/nrsyed/svm-vehicle-detector/blob/493057e44a7f0eff0430fe65dc4162ee56effe47/detector.py#L101) method. If you strip away the video capture stuff, the while loop, and the summing...
@AGenchev What kind of hardware are you running on?
Good question. The sklearn.svm.LinearSVC class doesn't care about the actual values of the labels, only that they are distinct. Internally, it encodes the labels as {0, 1} regardless of the...
@clemens-tolboom Since you provided some nice contributions, was wondering if you had any thoughts on this PR. Thanks!