Skip to content

ORB Demo code errors out with cv2.error: Unknown C++ exception from OpenCV code #486

@WurmD

Description

@WurmD

Expected behaviour

Demo code from https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_feature2d/py_orb/py_orb.html

import cv2
img = cv2.imread('images/IMG_6769.jpg',0)
orb = cv2.ORB()
kp = orb.detect(img,None)

should run

Actual behaviour

cv2.error: Unknown C++ exception from OpenCV code

Steps to reproduce

Extras

OpenCV Issue: opencv/opencv#20081
Stackoverflow: https://stackoverflow.com/questions/67526521/orb-demo-code-errors-out-with-cv2-error-unknown-c-exception-from-opencv-code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions