Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

FRC AprilTags info #4

Open
NotSimon5673 opened this issue Jan 10, 2023 · 2 comments
Open

FRC AprilTags info #4

NotSimon5673 opened this issue Jan 10, 2023 · 2 comments

Comments

@NotSimon5673
Copy link

so I looked it up and it's pretty simple.

apriltags has it's own package so you can just pip install it, you'll also need cv2 as that's the only way to grey-scale it which is required.

IMPORTANT THING TO NOTE: if we have multiple AprilTags being shown on the camera atonce we need to pass it through filters via the command apriltag.Detectoroptions() and set the tagFamily to whatever it is on the frc tags.

I'll make a new branch and put some code on there based on the sort of working system that takes in an image and spits out the info about the tag.

@KenwoodFox
Copy link
Member

Perfect dude!

Consider making a new branch for it, while keegan works on getting the drivetrain to work
https://docs.wpilib.org/en/stable/docs/software/vision-processing/apriltag/apriltag-intro.html

@KenwoodFox
Copy link
Member

You may also want to consider having a coprocessor like the pi4 handling vision processing as the robo rio is very CPU limited.

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

No branches or pull requests

2 participants