Skip to content

Commit add5f35

Browse files
committed
updated docstrings
1 parent f62c1af commit add5f35

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

openptv_python/imgcoord.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ def flat_image_coord(
1818
1919
Args:
2020
----
21-
orig_pos (_type_): _description_
22-
cal (_type_): _description_
23-
mm (_type_): _description_
21+
orig_pos (np.ndarray): 3D position
22+
cal (Calibration): camera calibration
23+
mm (Multimedia): multimedia parameters
2424
2525
Returns
2626
-------
@@ -76,7 +76,7 @@ def flat_image_coordinates(
7676
def img_coord(
7777
pos: np.ndarray, cal: Calibration, mm: MultimediaPar
7878
) -> Tuple[float, float]:
79-
"""Image coordinate."""
79+
"""Estimate metric coordinates in image space (mm)."""
8080
# Estimate metric coordinates in image space using flat_image_coord()
8181
if pos.shape[0] != 3:
8282
raise ValueError("pos must be a 3D vector")

0 commit comments

Comments
 (0)