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

Provided methods

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.

the dictionary of markers employed for this board

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

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.

Implementors