-
Notifications
You must be signed in to change notification settings - Fork 611
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
[apriltag] Make AprilTagDetector.detect() use RawFrame instead of OpenCV Mat #7176
base: main
Are you sure you want to change the base?
Conversation
34f6e98
to
a247f88
Compare
As a downstream consumer of this API, I don’t love adding 1 (2?) extra copies here. Is it possible to make RawFrame instead wrap https://docs.opencv.org/4.x/javadoc/org/opencv/core/Mat.html#dataAddr() ? |
Wrapping sounds like a big potential footgun; what if the OpenCV object is destroyed? I could see supporting it with some big warning signs around it, but not as the default mode of operation. |
Allows avoiding two copies in wpilibsuite#7176
Allows avoiding two copies in wpilibsuite#7176
Allows avoiding two copies in wpilibsuite#7176 Signed-off-by: Jade Turner <[email protected]>
Allows avoiding two copies in wpilibsuite#7176 Signed-off-by: Jade Turner <[email protected]>
Allows avoiding two copies in wpilibsuite#7176 Signed-off-by: Jade Turner <[email protected]>
Allows avoiding two copies in wpilibsuite#7176 Signed-off-by: Jade Turner <[email protected]>
Allows avoiding two copies in wpilibsuite#7176 Signed-off-by: Jade Turner <[email protected]>
Allows avoiding two copies in wpilibsuite#7176 Signed-off-by: Jade Turner <[email protected]>
4ba74cb
to
04f3e2d
Compare
04f3e2d
to
5dd380b
Compare
If this PR isn't desirable, what's stopping #7179? |
5dd380b
to
c73db19
Compare
No description provided.