Exemple #1
0
def get_camera_calibration_info():
    """
    Returns a dictionary of information regarding the existing camera calibration
    files.
    """
    cal_files = file_tools.get_camera_calibration_files(fullpath=True)
    return get_cal_files_info(cal_files)
def get_camera_calibration_info():
    """
    Returns a dictionary of information regarding the existing camera calibration
    files.
    """
    cal_files = file_tools.get_camera_calibration_files(fullpath=True)
    return get_cal_files_info(cal_files)
Exemple #3
0
def get_calibrated_cameras():
    """
    Returns a list of the cameras for which there exist calibration
    files.
    """
    cal_file_list = file_tools.get_camera_calibration_files(fullpath=False)
    cam_list = []
    for cal_file in cal_file_list:
        cam, dummy = os.path.splitext(cal_file)
        cam_list.append(cam)
    return cam_list
def get_calibrated_cameras():
    """
    Returns a list of the cameras for which there exist calibration
    files.
    """
    cal_file_list = file_tools.get_camera_calibration_files(fullpath=False)
    cam_list = []
    for cal_file in cal_file_list:
        cam, dummy = os.path.splitext(cal_file)
        cam_list.append(cam)
    return cam_list