Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime issue #4

Open
ajsnyde opened this issue Apr 30, 2023 · 1 comment
Open

Runtime issue #4

ajsnyde opened this issue Apr 30, 2023 · 1 comment

Comments

@ajsnyde
Copy link

ajsnyde commented Apr 30, 2023

Connected cameras:  [<CameraBoardSocket.RGB: 0>, <CameraBoardSocket.LEFT: 1>, <CameraBoardSocket.RIGHT: 2>]
Traceback (most recent call last):
  File "/home/dread/depthai-slam/main.py", line 62, in <module>
    img, tripoints, kpts, matches = process(frame)
  File "/home/dread/depthai-slam/slam.py", line 17, in process
    pts1, pts2, kpts, matches = extractor.extract_keypoints(img=img)
  File "/home/dread/depthai-slam/extractor.py", line 21, in extract_keypoints
    kpts = [cv2.KeyPoint(p[0][0],p[0][1], _size=30) for p in pts]
  File "/home/dread/depthai-slam/extractor.py", line 21, in <listcomp>
    kpts = [cv2.KeyPoint(p[0][0],p[0][1], _size=30) for p in pts]
cv2.error: OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'KeyPoint'
> Overload resolution failed:
>  - KeyPoint() missing required argument 'size' (pos 3)
@jackslife2022
Copy link

Hi,I am happy be here. I think you should del the "_" of "_size" of the slam.py line 21,because the openCV update and have something differnet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants