Board
Objective-C
@interface Board : NSObject
Swift
class Board : NSObject
Board of markers
A board is a set of markers in the 3D space with a common coordinate system. The common form of a board of marker is a planar (2D) board, however any 3D layout can be used. A Board object is composed by:
- The object points of the marker corners, i.e. their coordinates respect to the board system.
- The dictionary which indicates the type of markers of the board
- The identifier of all the markers in the board.
Member of Aruco
-
Provide way to create Board by passing necessary data. Specially needed in Python.
Declaration
Objective-C
+ (nonnull Board *)create:(nonnull NSArray<Mat *> *)objPoints dictionary:(nonnull Dictionary *)dictionary ids:(nonnull Mat *)ids;
Swift
class func create(objPoints: [Mat], dictionary: Dictionary, ids: Mat) -> Board
Parameters
objPoints
array of object points of all the marker corners in the board
dictionary
the dictionary of markers employed for this board
ids
vector of the identifiers of the markers in the board
-
Declaration
Objective-C
@property (readonly) Dictionary* dictionary
Swift
var dictionary: Dictionary { get }