Skip to content
Sign upLog in
← Back to Community

I keep getting an error in this code I found online.

Profile icon
Graydog6

So I recently tried to use the code from: https://www.pyimagesearch.com/2017/09/18/real-time-object-detection-with-deep-learning-and-opencv/. Altho I keep getting an error.Heres the error:

usage: real_time_object_detection.py [-h] -p PROTOTXT -m MODEL [-c CONFIDENCE]
real_time_object_detection.py: error: the following arguments are required: -p/--prototxt, -m/--model

I only installed opencv-contrib. Because whenever I did pip3 install opencv, it said:

ERROR: Could not find a version that satisfies the requirement opencb (from versions: none)
ERROR: No matching distribution found for opencb

Voters
Profile icon
LoganDe1
Profile icon
Graydog6