pub fn blob_from_image_to_def(
image: &impl ToInputArray,
blob: &mut impl ToOutputArray,
) -> Result<()>Expand description
Creates 4-dimensional blob from image. @details This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
ยงNote
This alternative version of blob_from_image_to function uses the following default values for its arguments:
- scalefactor: 1.0
- size: Size()
- mean: Scalar()
- swap_rb: false
- crop: false
- ddepth: CV_32F