synpivimage.camera.Camera.load_jsonld#

classmethod Camera.load_jsonld(filename)[source]#

Load the camera from a JSON-LD file

Note

This function will return a list of Camera objects. This may be confusing, but there might be multiple lasers in the JSON file.

Parameters:

filename (Union[str, pathlib.Path]) – The filename to load the component from

Returns:

List[Camera] – List of camera objects