Operation Structures > REDEYE_RECTANGLE |
REDEYE_RECTANGLE
The REDEYE_RECTANGLE structure is used by OP_CLEAN Automatic Red Eyes Detection and Removal (Subcode = 18) and Rectangle List Red Eyes Removal (Subcode = 17) to specify the enclosing subrectangle of a detected red eye. It is used by Automatic Red Eyes Detection and Removal to specify the detection confidence for a red eye.
Copy Code | |
---|---|
typedef struct {
LONG RectX;
LONG RectY;
LONG RectWidth;
LONG RectHeight;
LONG Confidence;
} REDEYE_RECTANGLE;
|
Name | Description |
RectX |
The horizontal offset from the left edge of the image of the red eye's enclosing subrectangle. |
RectY |
The vertical offset from the top edge of the image of the red eye's enclosing subrectangle. |
RectWidth |
The width of the red eye's enclosing subrectangle. |
RectHeight |
The height of the red eye's enclosing subrectangle. |
Confidence |
The approximate detection confidence for the red eye with a value from 40 (least confident) to 99 (most confident). |