Trait opencv::hub_prelude::CharucoBoardTrait
source · pub trait CharucoBoardTrait: BoardTrait + CharucoBoardTraitConst {
// Required method
fn as_raw_mut_CharucoBoard(&mut self) -> *mut c_void;
// Provided method
fn set_legacy_pattern(&mut self, legacy_pattern: bool) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::objdetect::CharucoBoard
Required Methods§
fn as_raw_mut_CharucoBoard(&mut self) -> *mut c_void
Provided Methods§
sourcefn set_legacy_pattern(&mut self, legacy_pattern: bool) -> Result<()>
fn set_legacy_pattern(&mut self, legacy_pattern: bool) -> Result<()>
set legacy chessboard pattern.
Legacy setting creates chessboard patterns starting with a white box in the upper left corner if there is an even row count of chessboard boxes, otherwise it starts with a black box. This setting ensures compatibility to patterns created with OpenCV versions prior OpenCV 4.6.0. See https://github.com/opencv/opencv/issues/23152.
Default value: false.
Object Safety§
This trait is not object safe.