pub struct QRCodeDetectorAruco { /* private fields */ }
Implementations§
Source§impl QRCodeDetectorAruco
impl QRCodeDetectorAruco
pub fn default() -> Result<QRCodeDetectorAruco>
Sourcepub fn new(params: QRCodeDetectorAruco_Params) -> Result<QRCodeDetectorAruco>
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
impl Boxed for QRCodeDetectorAruco
Source§unsafe fn from_raw(
ptr: <QRCodeDetectorAruco as OpenCVFromExtern>::ExternReceive,
) -> Self
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
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
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
fn as_raw_mut( &mut self, ) -> <QRCodeDetectorAruco as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Clone for QRCodeDetectorAruco
impl Clone for QRCodeDetectorAruco
Source§impl Debug for QRCodeDetectorAruco
impl Debug for QRCodeDetectorAruco
Source§impl Drop for QRCodeDetectorAruco
impl Drop for QRCodeDetectorAruco
Source§impl From<QRCodeDetectorAruco> for GraphicalCodeDetector
impl From<QRCodeDetectorAruco> for GraphicalCodeDetector
Source§fn from(s: QRCodeDetectorAruco) -> Self
fn from(s: QRCodeDetectorAruco) -> Self
Converts to this type from the input type.
Source§impl GraphicalCodeDetectorTrait for QRCodeDetectorAruco
impl GraphicalCodeDetectorTrait for QRCodeDetectorAruco
fn as_raw_mut_GraphicalCodeDetector(&mut self) -> *mut c_void
fn set(&mut self, unnamed: &impl GraphicalCodeDetectorTraitConst)
fn set_1(&mut self, unnamed: GraphicalCodeDetector)
Source§impl GraphicalCodeDetectorTraitConst for QRCodeDetectorAruco
impl GraphicalCodeDetectorTraitConst for QRCodeDetectorAruco
fn as_raw_GraphicalCodeDetector(&self) -> *const c_void
Source§fn detect(
&self,
img: &impl ToInputArray,
points: &mut impl ToOutputArray,
) -> Result<bool>
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>>
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>>
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>>
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>>
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>
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>
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>
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>
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>
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
impl QRCodeDetectorArucoTrait for QRCodeDetectorAruco
fn as_raw_mut_QRCodeDetectorAruco(&mut self) -> *mut c_void
Source§fn set_detector_parameters(
&mut self,
params: QRCodeDetectorAruco_Params,
) -> Result<QRCodeDetectorAruco>
fn set_detector_parameters( &mut self, params: QRCodeDetectorAruco_Params, ) -> Result<QRCodeDetectorAruco>
Detector parameters setter. See cv::QRCodeDetectorAruco::Params
Source§fn set_aruco_parameters(
&mut self,
params: &impl DetectorParametersTraitConst,
) -> Result<()>
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
impl QRCodeDetectorArucoTraitConst for QRCodeDetectorAruco
fn as_raw_QRCodeDetectorAruco(&self) -> *const c_void
Source§fn get_detector_parameters(&self) -> Result<QRCodeDetectorAruco_Params>
fn get_detector_parameters(&self) -> Result<QRCodeDetectorAruco_Params>
Detector parameters getter. See cv::QRCodeDetectorAruco::Params
Source§fn get_aruco_parameters(&self) -> Result<DetectorParameters>
fn get_aruco_parameters(&self) -> Result<DetectorParameters>
Aruco detector parameters are used to search for the finder patterns.
impl Send for QRCodeDetectorAruco
Auto Trait Implementations§
impl Freeze for QRCodeDetectorAruco
impl RefUnwindSafe for QRCodeDetectorAruco
impl !Sync for QRCodeDetectorAruco
impl Unpin for QRCodeDetectorAruco
impl UnwindSafe for QRCodeDetectorAruco
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
Source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res,
) -> Res
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 unsafe in a general case as it leads to having non-exclusive mutable access to the internal data,
but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place
modification is imgproc::threshold
. Read more