Skip to content

Commit

Permalink
updated docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlib committed Feb 7, 2024
1 parent f62c1af commit add5f35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openptv_python/imgcoord.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def flat_image_coord(
Args:
----
orig_pos (_type_): _description_
cal (_type_): _description_
mm (_type_): _description_
orig_pos (np.ndarray): 3D position
cal (Calibration): camera calibration
mm (Multimedia): multimedia parameters
Returns
-------
Expand Down Expand Up @@ -76,7 +76,7 @@ def flat_image_coordinates(
def img_coord(
pos: np.ndarray, cal: Calibration, mm: MultimediaPar
) -> Tuple[float, float]:
"""Image coordinate."""
"""Estimate metric coordinates in image space (mm)."""
# Estimate metric coordinates in image space using flat_image_coord()
if pos.shape[0] != 3:
raise ValueError("pos must be a 3D vector")
Expand Down

0 comments on commit add5f35

Please sign in to comment.