Crate cv_convert[][src]

Types and traits for conversion between types from popular computer vision libraries.

Structs

OpenCvPose

A pair of rvec and tvec from OpenCV, standing for rotation and translation.

TensorAsImage

A tensor with image shape convention that is used to convert to Tensor.

TensorFromMat

A Tensor which data reference borrows from a Mat. It can be dereferenced to a Tensor.

Enums

ShapeConvention

Describes the image channel order of a Tensor.

Traits

FromCv

Type conversion that is analogous to From.

IntoCv

Type conversion that is analogous to Into.

TryFromCv

Fallible type conversion that is analogous to TryFrom.

TryIntoCv

Fallible type conversion that is analogous to TryInto.