Skip to content

opencv issues #17

@LovelySimon

Description

@LovelySimon

Traceback (most recent call last):
File "train.py", line 175, in
infer_img = cv2.polylines(infer_img, [box.reshape(-1, 1, 2) for box in boxes], isClosed=True, color=(0, 255, 0), thickness=4)
TypeError: Expected Ptrcv::UMat for argument 'img'

how can I deal with it?

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