|
makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
|
Represents an image retrieved from the camera. More...
#import <CamIL_Image.h>
Inherits NSObject.
Instance Methods | |
| (id) | - initWithWidth:andHeight:andPredefinedFormat:andData: |
| Initializes the CamIL Image;. | |
| (int) | - GetPlaneCount |
| Retrieve the plane count from the image. | |
| (CamIL_Plane *) | - getPlaneAt: |
| Retrived the plane at the designated index. | |
Represents an image retrieved from the camera.
| - (CamIL_Plane *) getPlaneAt: | (int) | index |
Retrived the plane at the designated index.
| index | index for retrieving the plane, valid values are from 0 to [img GetPlaneCount] - 1. |
| - (int) GetPlaneCount |
Retrieve the plane count from the image.
| - (id) initWithWidth: | (int) | width | |
| andHeight: | (int) | height | |
| andPredefinedFormat: | (Format) | format | |
| andData: | (void **) | data | |
Initializes the CamIL Image;.
| width | width of the image |
| width | height of the image |
| format | the format of the image, bytes per pixel is infered from the format |
| data | the data pointer to the plains representing the image, for interleaved images like RGB or BGRA it should be a single plane. YUV formats are represented using multiple planes. |