trifinger_cameras.camera_calibration_file module¶
- class trifinger_cameras.camera_calibration_file.CameraCalibrationFile(filename)[source]¶
Bases:
object
Simplifies access to the data in a camera calibration file.
- trifinger_cameras.camera_calibration_file.config_to_array(data)[source]¶
Convert a dictionary with keys “data”, “rows” and “cols” to an array.
- Parameters:
data (dict) – Dictionary containing the following keys: - “data”: a flat list with the array data. - “rows”: The number of rows in the array. - “cols”: The number of columns in the array.
- Returns:
The given data as an array of shape (“rows”, “cols”).