Function ouster::sdk::core::camera_metadata_from_json

Function Documentation

CameraInfo ouster::sdk::core::camera_metadata_from_json(const std::string &json_file)

Parse camera metadata from a JSON file path.

Throws:

std::runtime_error – if the file cannot be read or is malformed.

Parameters:

json_file[in] path to a JSON file containing camera metadata.

Returns:

a CameraInfo populated from the given metadata file.