Skip to content

nextcv.sensors.parsers ⚓︎

Parsers for sensor calibration data.

CLASS DESCRIPTION
CalibrationData

Simple calibration data parser without heavy dependencies.

nextcv.sensors.parsers.CalibrationData ⚓︎

Bases: BaseModel

Simple calibration data parser without heavy dependencies.

PARAMETER DESCRIPTION
cameras

Dictionary of cameras with their calibration data

TYPE: Dict[str, PinholeCamera] DEFAULT: None

METHOD DESCRIPTION
from_json

Parse calibration data from JSON file.

from_json classmethod ⚓︎

from_json(file_path: Union[str, Path]) -> CalibrationData

Parse calibration data from JSON file.

PARAMETER DESCRIPTION
file_path

Path to the JSON calibration file

TYPE: Union[str, Path]

RETURNS DESCRIPTION
CalibrationData

Parsed calibration data