Function opencv_ros_camera::from_ros_yaml
source · pub fn from_ros_yaml<R, Rd>(reader: Rd) -> Result<NamedIntrinsicParameters<R>>
Expand description
Construct NamedIntrinsicParameters from ROS format YAML data.
This is a small wrapper around serde_yaml::from_reader()
and
NamedIntrinsicParameters::try_from()
.
See the module-level documentation for more information, including an example of use.