Skip to content

Commit 7e1b39f

Browse files
committed
Note what these snippets show
1 parent 153a2ef commit 7e1b39f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

programming/sr/vision/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ cartesian
159159
A named tuple of `x` and `y` coordinates for the point, in pixels relative to the top left of the image.
160160

161161
~~~~~ python
162+
# Print the x and y coordinates of the pixel location
162163
print(marker.pixel_centre.x, marker.pixel_centre.y)
163164
~~~~~
164165

@@ -171,6 +172,7 @@ A named tuple of `x`, `y` and `z` coordinates for the point, in millimeters rela
171172
Increasing values are to the right, below and away from the camera respectively.
172173

173174
~~~~~ python
175+
# Print the x, y and z coordinates of the marker's location
174176
print(marker.cartesian.x, marker.cartesian.y, marker.cartesian.z)
175177
~~~~~
176178

0 commit comments

Comments
 (0)