Skip to content

Commit 47ae0c4

Browse files
committed
fix docs
1 parent 5bd71fa commit 47ae0c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/generic_functions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use rayon::prelude::*;
1616
///
1717
/// ```
1818
/// use camera_intrinsic_model::*;
19-
/// let model = model_from_json("eucm.json");
19+
/// let model = model_from_json("data/eucm0.json");
2020
/// let new_w_h = 1024;
2121
/// let p = model.estimate_new_camera_matrix_for_undistort(0.0, Some((new_w_h, new_w_h)));
2222
/// let (xmap, ymap) = model.init_undistort_map(&p, (new_w_h, new_w_h), None);
@@ -79,7 +79,7 @@ pub fn init_undistort_map(
7979
///
8080
/// ```
8181
/// use camera_intrinsic_model::*;
82-
/// let model = model_from_json("eucm.json");
82+
/// let model = model_from_json("data/eucm0.json");
8383
/// let new_w_h = 1024;
8484
/// let p = model.estimate_new_camera_matrix_for_undistort(0.0, Some((new_w_h, new_w_h)));
8585
/// let (xmap, ymap) = model.init_undistort_map(&p, (new_w_h, new_w_h), None);

0 commit comments

Comments
 (0)