Skip to content

Commit

Permalink
added docstring for fisheye
Browse files Browse the repository at this point in the history
  • Loading branch information
saching13 committed Dec 7, 2023
1 parent 38681bb commit c9d5783
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/depthai/device/CalibrationHandler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,10 @@ class CalibrationHandler {
* Get the Distortion Coefficients object
*
* @param cameraId Uses the cameraId to identify which distortion Coefficients to return.
* @return the distortion coefficients of the requested camera in this order: [k1,k2,p1,p2,k3,k4,k5,k6,s1,s2,s3,s4,τx,τy]
* @return the distortion coefficients of the requested camera in this order: [k1,k2,p1,p2,k3,k4,k5,k6,s1,s2,s3,s4,τx,τy] for CameraModel::Perspective
* or [k1, k2, k3, k4] for CameraModel::Fisheye
* see https://docs.opencv.org/4.5.4/d9/d0c/group__calib3d.html for Perspective model (Rational Polynomial Model)
* see https://docs.opencv.org/4.5.4/db/d58/group__calib3d__fisheye.html for Fisheye model
*/
std::vector<float> getDistortionCoefficients(CameraBoardSocket cameraId) const;

Expand Down

0 comments on commit c9d5783

Please sign in to comment.