3DiVi Face SDK
3.24.2
|
Classes | |
class | face_sdk.modules.raw_image.Rectangle |
Rectangle in an image. More... | |
class | face_sdk.modules.raw_image.Format |
Format of image data. More... | |
class | face_sdk.modules.raw_image.RawImage |
Raw image interface. More... | |
Functions | |
def | face_sdk.modules.raw_image.Rectangle.__init__ |
X coordinate of the top-left corner. More... | |
def | face_sdk.modules.raw_image.RawImage.__init__ |
Get a pointer to the image data buffer. More... | |
def | face_sdk.modules.raw_image.RawImage.crop |
Create a RawImage object that represents the specified rectangle area of this image. | |
def | face_sdk.modules.raw_image.RawImage.__del__ |
Virtual destructor. | |
Variables | |
int | face_sdk.modules.raw_image.Format.FORMAT_GRAY = 0 |
Grayscale, 8 bit per pixel. | |
int | face_sdk.modules.raw_image.Format.FORMAT_RGB = 1 |
RGB, 24 bit per pixel, 8 bit per channel. | |
int | face_sdk.modules.raw_image.Format.FORMAT_BGR = 2 |
BGR, 24 bit per pixel, 8 bit per channel. | |
int | face_sdk.modules.raw_image.Format.FORMAT_YUV_NV21 = 3 |
NV21 format in the YUV color coding system, the standard image format used on the Android camera preview. | |
int | face_sdk.modules.raw_image.Format.FORMAT_YUV_NV12 = 4 |
NV12 format in the YUV color coding system. | |
def face_sdk.modules.raw_image.Rectangle.__init__ | ( | self, | |
x | |||
) |
X coordinate of the top-left corner.
Y coordinate of the top-left corner.
Width of the rectangle.
Height of the rectangle.
def face_sdk.modules.raw_image.RawImage.__init__ | ( | self, | |
width | |||
) |
Get a pointer to the image data buffer.
All pixels must be stored continuously row by row, without gaps at the end of each row. Can't throw an exception (see Warning in Class description).
Get image width. Can't throw an exception (see Warning in Class description).
Get image height. Can't throw an exception (see Warning in Class description).
Get image format. Can't throw an exception (see Warning in Class description).