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_right_bottom_border(&mut self, val: Point3f) { ... }
    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 this order:

  • objPoints[i][0] - left-top point of i-th marker
  • objPoints[i][1] - right-top point of i-th marker
  • objPoints[i][2] - right-bottom point of i-th marker
  • objPoints[i][3] - left-bottom point of i-th marker

Markers are placed in a certain order - row by row, left to right in every row. 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

coordinate of the bottom right corner of the board, is set when calling the function create()

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