[][src]Function opencv_ros_camera::from_ros_yaml

pub fn from_ros_yaml<R, Rd>(reader: Rd) -> Result<NamedIntrinsicParameters<R>> where
    R: RealField + DeserializeOwned,
    Rd: Read

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.