makeup|SDK
makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.
Loading...
Searching...
No Matches
CamIL_Image.h
1//
2// Image.h
3// MakeUpSDK
4//
5// Created by Visage on 18.09.2023..
6// Copyright © 2023 Visage Technologies AB. All rights reserved.
7//
8
9#ifndef Image_h
10#define Image_h
11#import <Foundation/Foundation.h>
12#import <CamIL_Plane.h>
13
18typedef NS_ENUM(NSUInteger, Format) {
19 RGB = 1,
20 RGBA,
21 BGR,
22 BGRA,
23 ARGB,
24 ABGR,
25 LUMINANCE,
26 YUV420p,
27 YUV420i };
28
32@interface CamIL_Image : NSObject {
33 void* image;
34}
35
36
45- (id)initWithWidth:(int)width andHeight:(int) height andPredefinedFormat:(Format) format andData:(void**) data;
46
51- (int) GetPlaneCount;
52
58- (CamIL_Plane *) getPlaneAt:(int) index;
59
60- (id) initFromData:(void*) data;
61
62- (void*) GetUnderlyingType;
63
64@end
65
66#endif /* Image_h */
Represents an image retrieved from the camera.
Definition CamIL_Image.h:32
Definition CamIL_Plane.h:17