Python Forum
i need help for opencv apriltag detect
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i need help for opencv apriltag detect
#1
I photographed april tag using raspberry pi 4 B+(8GB), arducam IMX298 MIPI 16MP Color Camera.
The shooting mode is width 1920 * height 1080.
I want to extract the coordinate values for each corner of the april tag from the picture I took.

When I type the command on the last line I get the message below
Let me know what to fix
(cv) [email protected]:~ $ python
Python 3.7.3 (default, Jul 25 2020, 13:03:44) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import apriltag
>>> import cv2
>>> image = cv2.imread("test.jpg")
>>> gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
>>> options = apriltag.DetectorOptions(families="tag36h11")
>>> detector = apriltag.Detector(options)
>>> results = detector.detect(gray)
Error:
warning: too many borders in contour_detect (max of 32767!) Segmentation fault
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  how to detect horizontal dotted lines in an image using OpenCV pframe 0 2,292 Apr-15-2020, 08:53 PM
Last Post: pframe
  How to detect the text above lines using OpenCV in Python pframe 0 1,337 Apr-14-2020, 09:53 AM
Last Post: pframe

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020