Skip to content

error in hogdetector.py #3

Description

@KuroChan1998

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions