pyfisheye.scripts package

Submodules

pyfisheye.scripts.calibrate module

class pyfisheye.scripts.calibrate.Arguments(**kwargs)

Bases: Namespace

Typed program arguments for the calibration script.

distortion_centre_search_grid_size: int = 20
images: list[str]
initial_distortion_centre_x: Optional[float]
initial_distortion_centre_y: Optional[float]
log_level: str = 'INFO'
nonlinear_refinement: bool
num_monotonicity_constraint_samples: int = 1000
optimise_distortion_centre: bool
pattern_num_cols: int
pattern_num_rows: int
pattern_tile_height: float
pattern_tile_width: float
save_calibration_to: str
save_corner_det: Optional[str]
save_results: Optional[str]
show_corner_det: bool
show_results: bool
weighted_least_squares_threshold: float
pyfisheye.scripts.calibrate.calibrate(arguments=None)

Detect corners of the calibration pattern, alibrate the camera and show / save the results.

Parameters:

arguments (Optional[Arguments]) – Leave as None to parse arguments from CLA.

Return type:

None

pyfisheye.scripts.demo module

pyfisheye.scripts.demo.demo()
Return type:

None

pyfisheye.scripts.demo.print_disclaimer()
Return type:

None

pyfisheye.scripts.demo.run_calibration(index)
Parameters:

index (int) – The index of the dataset to use (see variable at top of script)

Return type:

None

pyfisheye.scripts.demo.select_dataset()
Return type:

int

Returns:

The selected dataset’s index.

pyfisheye.scripts.demo.unzip_images()
Return type:

None

Module contents