OpenCV  5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
cv::aruco Namespace Reference

Classes

class  ArucoDetector
 The main functionality of ArucoDetector class is detection of markers in an image with detectMarkers() method. More...
 
class  Board
 Board of ArUco markers. More...
 
class  CharucoBoard
 ChArUco board is a planar chessboard where the markers are placed inside the white squares of a chessboard. More...
 
class  CharucoDetector
 
struct  CharucoParameters
 
struct  DetectorParameters
 struct DetectorParameters is used by ArucoDetector More...
 
class  Dictionary
 Dictionary is a set of unique ArUco markers of the same size. More...
 
class  GridBoard
 Planar board with grid arrangement of markers. More...
 
struct  RefineParameters
 struct RefineParameters is used by ArucoDetector More...
 

Enumerations

enum  CornerRefineMethod {
  CORNER_REFINE_NONE ,
  CORNER_REFINE_SUBPIX ,
  CORNER_REFINE_CONTOUR ,
  CORNER_REFINE_APRILTAG
}
 
enum  PredefinedDictionaryType {
  DICT_4X4_50 = 0 ,
  DICT_4X4_100 ,
  DICT_4X4_250 ,
  DICT_4X4_1000 ,
  DICT_5X5_50 ,
  DICT_5X5_100 ,
  DICT_5X5_250 ,
  DICT_5X5_1000 ,
  DICT_6X6_50 ,
  DICT_6X6_100 ,
  DICT_6X6_250 ,
  DICT_6X6_1000 ,
  DICT_7X7_50 ,
  DICT_7X7_100 ,
  DICT_7X7_250 ,
  DICT_7X7_1000 ,
  DICT_ARUCO_ORIGINAL ,
  DICT_APRILTAG_16h5 ,
  DICT_APRILTAG_25h9 ,
  DICT_APRILTAG_36h10 ,
  DICT_APRILTAG_36h11 ,
  DICT_ARUCO_MIP_36h12
}
 Predefined markers dictionaries/sets. More...
 

Functions

void drawDetectedCornersCharuco (InputOutputArray image, InputArray charucoCorners, InputArray charucoIds=noArray(), Scalar cornerColor=Scalar(255, 0, 0))
 Draws a set of Charuco corners.
 
void drawDetectedDiamonds (InputOutputArray image, InputArrayOfArrays diamondCorners, InputArray diamondIds=noArray(), Scalar borderColor=Scalar(0, 0, 255))
 Draw a set of detected ChArUco Diamond markers.
 
void drawDetectedMarkers (InputOutputArray image, InputArrayOfArrays corners, InputArray ids=noArray(), Scalar borderColor=Scalar(0, 255, 0))
 Draw detected markers in image.
 
Dictionary extendDictionary (int nMarkers, int markerSize, const Dictionary &baseDictionary=Dictionary(), int randomSeed=0)
 Extend base dictionary by new nMarkers.
 
void generateImageMarker (const Dictionary &dictionary, int id, int sidePixels, OutputArray img, int borderBits=1)
 Generate a canonical marker image.
 
Dictionary getPredefinedDictionary (int dict)
 Returns one of the predefined dictionaries referenced by DICT_*.
 
Dictionary getPredefinedDictionary (PredefinedDictionaryType name)
 Returns one of the predefined dictionaries defined in PredefinedDictionaryType.