$search
Public Member Functions | |
def | __init__ |
def | calculate_object_pose |
def | detect_image_points |
Public Attributes | |
calibration_object |
Base Class for calibration object detector A specific calibration object detector implementation can detect the specific calibration object in images and calculate its 3D pose.
Definition at line 61 of file calibration_object_detector.py.
def cob_camera_calibration::calibration_object_detector::CalibrationObjectDetector::__init__ | ( | self, | ||
calibration_object | ||||
) |
@param calibration_object: Calibration object to work with. Must be compatible to CalibrationObjectDetector @type calibration_object: CalibrationObject
Definition at line 69 of file calibration_object_detector.py.
def cob_camera_calibration::calibration_object_detector::CalibrationObjectDetector::calculate_object_pose | ( | self, | ||
image_raw, | ||||
camera_matrix, | ||||
dist_coeffs, | ||||
is_grayscale | ||||
) |
Calculate 3D pose of calibration object in image given the camera's camera matrix and distortion coefficients. Returns rotation matrix and translation vector. @param image_raw: input image, not distortion corrected @type image_raw: cv2 compatible numpy image @param camera_matrix: camera matrix of camera @type camera_matrix: numpy matrix @param dist_coeffs: distortion coefficients of camera @type dist_coeffs: numpy matrix @param is_grayscale: set to true if image is grayscale @type is_grayscale: bool
Definition at line 79 of file calibration_object_detector.py.
def cob_camera_calibration::calibration_object_detector::CalibrationObjectDetector::detect_image_points | ( | self, | ||
image, | ||||
is_grayscale | ||||
) |
Reimplemented in cob_camera_calibration::calibration_object_detector::CheckerboardDetector.
Definition at line 76 of file calibration_object_detector.py.
Definition at line 74 of file calibration_object_detector.py.