Trait opencv::aruco::prelude::BoardTrait [−][src]
pub trait BoardTrait: BoardTraitConst {
fn as_raw_mut_Board(&mut self) -> *mut c_void;
fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>) { ... }
fn dictionary(&mut self) -> Ptr<Dictionary> { ... }
fn set_dictionary(&mut self, val: Ptr<Dictionary>) { ... }
fn set_ids(&mut self, val: Vector<i32>) { ... }
fn set_ids_1(&mut self, ids: &dyn ToInputArray) -> Result<()> { ... }
}
Required methods
fn as_raw_mut_Board(&mut self) -> *mut c_void
Provided methods
fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
fn set_obj_points(&mut self, val: Vector<Vector<Point3f>>)
array of object points of all the marker corners in the board each marker include its 4 corners in CCW order. For M markers, the size is Mx4.
fn dictionary(&mut self) -> Ptr<Dictionary>
fn dictionary(&mut self) -> Ptr<Dictionary>
the dictionary of markers employed for this board
fn set_dictionary(&mut self, val: Ptr<Dictionary>)
fn set_dictionary(&mut self, val: Ptr<Dictionary>)
the dictionary of markers employed for this board
vector of the identifiers of the markers in the board (same size than objPoints) The identifiers refers to the board dictionary
fn set_ids_1(&mut self, ids: &dyn ToInputArray) -> Result<()>
fn set_ids_1(&mut self, ids: &dyn ToInputArray) -> Result<()>
Set ids vector
Parameters
- ids: vector of the identifiers of the markers in the board (should be the same size as objPoints)
Recommended way to set ids vector, which will fail if the size of ids does not match size of objPoints.