ScArucoDictionary.h
Go to the documentation of this file.
1
10#ifndef SC_ARUCO_DICTIONARY_H_
11#define SC_ARUCO_DICTIONARY_H_
12
13#include <Scandit/ScConfig.h>
14
16
20typedef enum {
21 SC_ARUCO_DICTIONARY_PRESET_4X4_250 = 2,
22 SC_ARUCO_DICTIONARY_PRESET_5X5_50 = 4,
23 SC_ARUCO_DICTIONARY_PRESET_5X5_100 = 5,
24 SC_ARUCO_DICTIONARY_PRESET_5X5_250 = 6,
25 SC_ARUCO_DICTIONARY_PRESET_5X5_1000 = 7,
26 SC_ARUCO_DICTIONARY_PRESET_5X5_1023 = 16, // From original ArUco paper
27 SC_ARUCO_DICTIONARY_PRESET_6X6_250 = 10,
29
38typedef struct ScOpaqueArucoDictionary ScArucoDictionary;
39
49SC_EXPORT
51
60SC_EXPORT
62
73SC_EXPORT
75
85SC_EXPORT
87
104SC_EXPORT
106 uint8_t *marker_bits,
107 uint32_t marker_size);
108
110
111#endif // SC_ARUCO_DICTIONARY_H_
ScArucoDictionaryPreset
Predefined dictionaries compatible with OpenCV.
Definition: ScArucoDictionary.h:20
Common definitions used throughout the ScanditSDK API.
#define SC_EXTERN_C_BEGIN
Start of external C code.
Definition: ScConfig.h:19
#define SC_EXTERN_C_END
End of external C code.
Definition: ScConfig.h:28
int32_t ScBool
Boolean value, can be SC_TRUE or SC_FALSE.
Definition: ScConfig.h:167
ArUco Symbology Dictionary.
ScArucoDictionary * sc_aruco_dictionary_from_preset(ScArucoDictionaryPreset preset)
creates a constant prefilled dictionary
void sc_aruco_dictionary_retain(ScArucoDictionary const *dictionary)
Increase reference count of an Aruco dictionary by one.
ScBool sc_aruco_dictionary_add_marker(ScArucoDictionary *dictionary, uint8_t *marker_bits, uint32_t marker_size)
adds an aruco marker to a dictionary. Serialization of dictionaries created or modified using this fu...
ScArucoDictionary * sc_aruco_dictionary_new(uint32_t marker_size)
creates a new aruco dictionary with the specified marker size
void sc_aruco_dictionary_release(ScArucoDictionary const *dictionary)
Decrease reference count of an Aruco dictionary by one.