tracking-python3 icon indicating copy to clipboard operation
tracking-python3 copied to clipboard

error in hogdetector.py

Open KuroChan1998 opened this issue 6 years ago • 0 comments

When running hogdetector.py, i found this error after the video is over.

Traceback (most recent call last): File "D:/CDesktop/Engineering/PRP/Moving_Object_Detection/camshift/tracking-python3-master/hogdetector.py", line 78, in objectDetected = hogPleDetector.detectLargest(frame) File "D:\CDesktop\Engineering\PRP\Moving_Object_Detection\camshift\tracking-python3-master\trackers\hogpeopledetector.py", line 86, in detectLargest useMeanshiftGrouping=False) cv2.error: OpenCV(3.4.3) C:\projects\opencv-python\opencv\modules\core\src\matrix.cpp:235: error: (-215:Assertion failed) s >= 0 in function 'cv::setSize'

KuroChan1998 avatar Mar 30 '19 08:03 KuroChan1998