Struct opencv::objdetect::CharucoDetector
source · pub struct CharucoDetector { /* private fields */ }
Implementations§
source§impl CharucoDetector
impl CharucoDetector
sourcepub fn new(
board: &CharucoBoard,
charuco_params: &CharucoParameters,
detector_params: &DetectorParameters,
refine_params: RefineParameters
) -> Result<CharucoDetector>
pub fn new( board: &CharucoBoard, charuco_params: &CharucoParameters, detector_params: &DetectorParameters, refine_params: RefineParameters ) -> Result<CharucoDetector>
Basic CharucoDetector constructor
Parameters
- board: ChAruco board
- charucoParams: charuco detection parameters
- detectorParams: marker detection parameters
- refineParams: marker refine detection parameters
C++ default parameters
- charuco_params: CharucoParameters()
- detector_params: DetectorParameters()
- refine_params: RefineParameters()
sourcepub fn new_def(board: &CharucoBoard) -> Result<CharucoDetector>
pub fn new_def(board: &CharucoBoard) -> Result<CharucoDetector>
Basic CharucoDetector constructor
Parameters
- board: ChAruco board
- charucoParams: charuco detection parameters
- detectorParams: marker detection parameters
- refineParams: marker refine detection parameters
Note
This alternative version of [new] function uses the following default values for its arguments:
- charuco_params: CharucoParameters()
- detector_params: DetectorParameters()
- refine_params: RefineParameters()
Trait Implementations§
source§impl AlgorithmTrait for CharucoDetector
impl AlgorithmTrait for CharucoDetector
source§impl AlgorithmTraitConst for CharucoDetector
impl AlgorithmTraitConst for CharucoDetector
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
source§fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
fn write_with_name_def(&self, fs: &Ptr<FileStorage>) -> Result<()>
👎Deprecated:
Note
Deprecated: ## Note
This alternative version of AlgorithmTraitConst::write_with_name function uses the following default values for its arguments: Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§impl Boxed for CharucoDetector
impl Boxed for CharucoDetector
source§impl CharucoDetectorTrait for CharucoDetector
impl CharucoDetectorTrait for CharucoDetector
fn as_raw_mut_CharucoDetector(&mut self) -> *mut c_void
fn set_board(&mut self, board: &CharucoBoard) -> Result<()>
fn set_charuco_parameters( &mut self, charuco_parameters: &mut CharucoParameters ) -> Result<()>
fn set_detector_parameters( &mut self, detector_parameters: &DetectorParameters ) -> Result<()>
fn set_refine_parameters( &mut self, refine_parameters: RefineParameters ) -> Result<()>
source§impl CharucoDetectorTraitConst for CharucoDetector
impl CharucoDetectorTraitConst for CharucoDetector
fn as_raw_CharucoDetector(&self) -> *const c_void
fn get_board(&self) -> Result<CharucoBoard>
fn get_charuco_parameters(&self) -> Result<CharucoParameters>
fn get_detector_parameters(&self) -> Result<DetectorParameters>
fn get_refine_parameters(&self) -> Result<RefineParameters>
source§fn detect_board(
&self,
image: &impl ToInputArray,
charuco_corners: &mut impl ToOutputArray,
charuco_ids: &mut impl ToOutputArray,
marker_corners: &mut impl ToInputOutputArray,
marker_ids: &mut impl ToInputOutputArray
) -> Result<()>
fn detect_board( &self, image: &impl ToInputArray, charuco_corners: &mut impl ToOutputArray, charuco_ids: &mut impl ToOutputArray, marker_corners: &mut impl ToInputOutputArray, marker_ids: &mut impl ToInputOutputArray ) -> Result<()>
detect aruco markers and interpolate position of ChArUco board corners Read more
source§fn detect_board_def(
&self,
image: &impl ToInputArray,
charuco_corners: &mut impl ToOutputArray,
charuco_ids: &mut impl ToOutputArray
) -> Result<()>
fn detect_board_def( &self, image: &impl ToInputArray, charuco_corners: &mut impl ToOutputArray, charuco_ids: &mut impl ToOutputArray ) -> Result<()>
detect aruco markers and interpolate position of ChArUco board corners Read more
source§fn detect_diamonds(
&self,
image: &impl ToInputArray,
diamond_corners: &mut impl ToOutputArray,
diamond_ids: &mut impl ToOutputArray,
marker_corners: &mut impl ToInputOutputArray,
marker_ids: &mut impl ToInputOutputArray
) -> Result<()>
fn detect_diamonds( &self, image: &impl ToInputArray, diamond_corners: &mut impl ToOutputArray, diamond_ids: &mut impl ToOutputArray, marker_corners: &mut impl ToInputOutputArray, marker_ids: &mut impl ToInputOutputArray ) -> Result<()>
Detect ChArUco Diamond markers Read more
source§fn detect_diamonds_def(
&self,
image: &impl ToInputArray,
diamond_corners: &mut impl ToOutputArray,
diamond_ids: &mut impl ToOutputArray
) -> Result<()>
fn detect_diamonds_def( &self, image: &impl ToInputArray, diamond_corners: &mut impl ToOutputArray, diamond_ids: &mut impl ToOutputArray ) -> Result<()>
Detect ChArUco Diamond markers Read more
source§impl Debug for CharucoDetector
impl Debug for CharucoDetector
source§impl Drop for CharucoDetector
impl Drop for CharucoDetector
source§impl From<CharucoDetector> for Algorithm
impl From<CharucoDetector> for Algorithm
source§fn from(s: CharucoDetector) -> Self
fn from(s: CharucoDetector) -> Self
Converts to this type from the input type.
impl Send for CharucoDetector
Auto Trait Implementations§
impl RefUnwindSafe for CharucoDetector
impl !Sync for CharucoDetector
impl Unpin for CharucoDetector
impl UnwindSafe for CharucoDetector
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