Skip to content

Commit f64cd6e

Browse files
authored
Fix AprilTagDetector.detect() doc string: height, width
I think the confusion is that the underlying Apriltag library does say "width, height": ``` Results Detect(int width, int height, int stride, uint8_t* buf); ``` But the python ndarray shape is actually (height, width), isn't it?
1 parent a614f97 commit f64cd6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subprojects/robotpy-apriltag/gen/AprilTagDetector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ classes:
5656
return l;
5757
}, py::arg("image"),
5858
R"doc(
59-
Detect tags from an 8-bit grayscale image with shape (width, height)
59+
Detect tags from an 8-bit grayscale image with shape (height, width)
6060
6161
:return: list of results
6262
)doc"

0 commit comments

Comments
 (0)