Struct opencv::objdetect::QRCodeDetectorAruco

source ·
pub struct QRCodeDetectorAruco { /* private fields */ }

Implementations§

source§

impl QRCodeDetectorAruco

source

pub fn default() -> Result<QRCodeDetectorAruco>

source

pub fn new(params: QRCodeDetectorAruco_Params) -> Result<QRCodeDetectorAruco>

QR code detector constructor for Aruco-based algorithm. See cv::QRCodeDetectorAruco::Params

Trait Implementations§

source§

impl Boxed for QRCodeDetectorAruco

source§

unsafe fn from_raw( ptr: <QRCodeDetectorAruco as OpenCVFromExtern>::ExternReceive ) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw( self ) -> <QRCodeDetectorAruco as OpenCVTypeExternContainer>::ExternSendMut

Return the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw( &self ) -> <QRCodeDetectorAruco as OpenCVTypeExternContainer>::ExternSend

Return the underlying raw pointer. Read more
source§

fn as_raw_mut( &mut self ) -> <QRCodeDetectorAruco as OpenCVTypeExternContainer>::ExternSendMut

Return the underlying mutable raw pointer Read more
source§

impl Clone for QRCodeDetectorAruco

source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for QRCodeDetectorAruco

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for QRCodeDetectorAruco

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl From<QRCodeDetectorAruco> for GraphicalCodeDetector

source§

fn from(s: QRCodeDetectorAruco) -> Self

Converts to this type from the input type.
source§

impl GraphicalCodeDetectorTrait for QRCodeDetectorAruco

source§

impl GraphicalCodeDetectorTraitConst for QRCodeDetectorAruco

source§

fn as_raw_GraphicalCodeDetector(&self) -> *const c_void

source§

fn detect( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray ) -> Result<bool>

Detects graphical code in image and returns the quadrangle containing the code. Read more
source§

fn decode( &self, img: &impl ToInputArray, points: &impl ToInputArray, straight_code: &mut impl ToOutputArray ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
source§

fn decode_def( &self, img: &impl ToInputArray, points: &impl ToInputArray ) -> Result<Vec<u8>>

Decodes graphical code in image once it’s found by the detect() method. Read more
source§

fn detect_and_decode( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray ) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
source§

fn detect_and_decode_def(&self, img: &impl ToInputArray) -> Result<Vec<u8>>

Both detects and decodes graphical code Read more
source§

fn detect_multi( &self, img: &impl ToInputArray, points: &mut impl ToOutputArray ) -> Result<bool>

Detects graphical codes in image and returns the vector of the quadrangles containing the codes. Read more
source§

fn decode_multi( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String>, straight_code: &mut impl ToOutputArray ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
source§

fn decode_multi_def( &self, img: &impl ToInputArray, points: &impl ToInputArray, decoded_info: &mut Vector<String> ) -> Result<bool>

Decodes graphical codes in image once it’s found by the detect() method. Read more
source§

fn detect_and_decode_multi( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String>, points: &mut impl ToOutputArray, straight_code: &mut impl ToOutputArray ) -> Result<bool>

Both detects and decodes graphical codes Read more
source§

fn detect_and_decode_multi_def( &self, img: &impl ToInputArray, decoded_info: &mut Vector<String> ) -> Result<bool>

Both detects and decodes graphical codes Read more
source§

impl QRCodeDetectorArucoTrait for QRCodeDetectorAruco

source§

fn as_raw_mut_QRCodeDetectorAruco(&mut self) -> *mut c_void

source§

fn set_detector_parameters( &mut self, params: QRCodeDetectorAruco_Params ) -> Result<QRCodeDetectorAruco>

Detector parameters setter. See cv::QRCodeDetectorAruco::Params
source§

fn get_aruco_parameters(&mut self) -> Result<DetectorParameters>

Aruco detector parameters are used to search for the finder patterns.
source§

fn set_aruco_parameters( &mut self, params: &impl DetectorParametersTraitConst ) -> Result<()>

Aruco detector parameters are used to search for the finder patterns.
source§

impl QRCodeDetectorArucoTraitConst for QRCodeDetectorAruco

source§

fn as_raw_QRCodeDetectorAruco(&self) -> *const c_void

source§

fn get_detector_parameters(&self) -> Result<QRCodeDetectorAruco_Params>

Detector parameters getter. See cv::QRCodeDetectorAruco::Params
source§

impl Send for QRCodeDetectorAruco

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Mat> ModifyInplace for Mat
where Mat: Boxed,

source§

unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res ) -> Res

Helper function to call OpenCV functions that allow in-place modification of a Mat or another similar object. By passing a mutable reference to the Mat to this function your closure will get called with the read reference and a write references to the same Mat. This is of course unsafe as it breaks the Rust aliasing rules, but it might be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.