Change in ArucoDetector return value in 4.13.0.90?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- opencv, python
- Domain
- computer-vision
Research direction
Start with cwipc/cwipc_util/python/cwipc/registration/multicoarse.py at _find_aruco_in_image and compare the shape returned by ArucoDetector.detectMarkers across the reported version change. Check the release notes and relevant OpenCV ArUco API behavior; done means the return-value change or regression is identified and its expected handling is documented.
Written by the indexing model from the issue text.
Description
Since this morning the following code has started crashing:
corners, ids, rejected = self.ARUCO_DETECTOR.detectMarkers(img)
# ...
if not ids is None:
for i in range(len(ids)):
rv_ids.append(int(ids[I]))
With error
File ".../cwipc/cwipc_util/python/cwipc/registration/multicoarse.py", line 525, in _find_aruco_in_image
rv_ids.append(int(ids[i]))
^^^^^^^^^^^
TypeError: only 0-dimensional arrays can be converted to Python scalars
Has the return value of the ArucoDetector changed?
I have checked the release notes but I couldn't find anything...
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1k
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opencv/opencv-python
-
[DOC] README file Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
opencv/opencv-python#1217 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
opencv/opencv-python#1165 · 2 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
opencv/opencv-python#1273 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
opencv/opencv-python#1272 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 70/100
opencv/opencv-python#1268 · 1 comment ·
All issues in opencv/opencv-python
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100