 |
SaigeVision C/C++
1.4.7
SaigeVision API document for C/C++
|
|
Go to the documentation of this file.
8 #define SAIGEVISION_MAJOR 1
10 #define SAIGEVISION_MINOR 4
12 #define SAIGEVISION_PATCHLEVEL 7
14 #define SAIGEVISION_VERSION (SAIGEVISION_MAJOR * 1000 + SAIGEVISION_MINOR * 100 + SAIGEVISION_PATCHLEVEL)
21 #define SR_USE_DEPRECATED_FUNCTIONS
147 double averageColor[3];
169 int* nPointsOnContour;
170 int* pointsOnContour;
247 static void PrintErrorType(
eErrorType errorType,
int verbosity = 2)
253 printf(
"Saige Vision SUCCESS, NO_ERROR_OUT, %d \n",
NO_ERROR_OUT);
258 printf(
"Saige Vision FAILED, NO_LICENCE: KEY NOT FOUND, %d \n",
NO_LICENCE);
266 printf(
"Saige Vision FAILED, NO_LICENSE_DONGLE: USB DONGLE NOT FOUND, %d \n",
NO_LICENSE_DONGLE);
286 printf(
"Saige Vision FAILED, NULL_INPUT, %d \n",
NULL_INPUT);
294 printf(
"Saige Vision FAILED, FILE_NOT_FOUND, %d \n",
FILE_NOT_FOUND);
302 printf(
"Saige Vision FAILED, EMPTY_IMAGE, %d \n",
EMPTY_IMAGE);
306 printf(
"Saige Vision FAILED, SMALL_IMAGE, %d \n",
SMALL_IMAGE);
326 printf(
"Saige Vision FAILED, UNKNOWN_ERROR, %d \n",
UNKNOWN_ERROR);
float y_tl
y coordinate of the top-left corner
Definition: CommonHeaderDLL.h:196
const char * text
text information of a OCR object in multi-byte characters
Definition: CommonHeaderDLL.h:244
Structure describing features for a rotated rectangle.
Definition: CommonHeaderDLL.h:182
unsigned int classIdx
class index of the object (except for background)
Definition: CommonHeaderDLL.h:125
unsigned int height
height of the object
Definition: CommonHeaderDLL.h:122
void * croppedImage
data of a cropped image
Definition: CommonHeaderDLL.h:231
Struct describing features of a segmentation object.
Definition: CommonHeaderDLL.h:108
int classIdx
index of the object's class
Definition: CommonHeaderDLL.h:208
int croppedImageWidth
width of a cropped image
Definition: CommonHeaderDLL.h:158
float score
feature score of the object (0 - 100)
Definition: CommonHeaderDLL.h:206
float angle
rotated angle of the object in degree (counter-clockwise)
Definition: CommonHeaderDLL.h:203
int nContours
Definition: CommonHeaderDLL.h:168
float x
x coordinate of the center of the object
Definition: CommonHeaderDLL.h:184
unsigned int yCenter
y coordinate of the center of the object
Definition: CommonHeaderDLL.h:113
unsigned int area
area of the object
Definition: CommonHeaderDLL.h:116
int croppedImageChannels
# of channels of a cropped image
Definition: CommonHeaderDLL.h:229
unsigned int xCenter
x coordinate of the center of the object
Definition: CommonHeaderDLL.h:110
SR_RotatedBox box
detected box
Definition: CommonHeaderDLL.h:215
int croppedImageHeight
height of a cropped image
Definition: CommonHeaderDLL.h:227
float y
y coordinate of the center of the object
Definition: CommonHeaderDLL.h:186
Struct describing features of a detected box.
Definition: CommonHeaderDLL.h:213
int croppedImageWidth
width of a cropped image
Definition: CommonHeaderDLL.h:225
float x_br
x coordinate of the bottom-right corner
Definition: CommonHeaderDLL.h:198
float y_br
y coordinate of the bottom-right corner
Definition: CommonHeaderDLL.h:200
int * hierarchies
Array of hierarchies for all contours of segmented object.
Definition: CommonHeaderDLL.h:176
SR_RotatedBox box
geometrical information of a OCR object
Definition: CommonHeaderDLL.h:239
float x_tl
x coordinate of the top-left corner
Definition: CommonHeaderDLL.h:194
Structure describing features of a OCR object.
Definition: CommonHeaderDLL.h:237
unsigned int width
width of the object
Definition: CommonHeaderDLL.h:119
float height
height of the object
Definition: CommonHeaderDLL.h:191
void * croppedImage
data of a cropped image
Definition: CommonHeaderDLL.h:164
int croppedImageHeight
height of a cropped image
Definition: CommonHeaderDLL.h:160
float width
width of the object
Definition: CommonHeaderDLL.h:189
int croppedImageChannels
# of channels of a cropped image
Definition: CommonHeaderDLL.h:162
const wchar_t * wtext
text information of a OCR object in wide characters
Definition: CommonHeaderDLL.h:242