DeepAR iOS  v5.2.0
Classes | Macros | Enumerations
DeepAR.h File Reference

Conatins the main DeepAR classes, structures and enumerations. More...

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "ARView.h"
#import "CameraController.h"

Go to the source code of this file.

Classes

struct  FaceData
 Represents data structure containing all the information available about the detected face. More...
 
struct  MultiFaceData
 Structure containing face data for up to 4 detected faces. More...
 
struct  RecordingConfig
 The video (and audio) recording configuration. More...
 
struct  Vector4
 A four-dimensional float vector. More...
 
struct  Vector3
 A three-dimensional float vector. More...
 
struct  TouchInfo
 Contains information about the current location and status of the started touch. More...
 
struct  FaceTrackingInitParameters
 
protocol  <DeepARDelegate>
 A delegate that is used to notify events from DeepAR to the consumer of the DeepAR SDK. More...
 
class  DeepAR
 Main class for interacting with DeepAR engine. More...
 

Macros

#define ARViewDelegate   DeepARDelegate
 

Enumerations

enum  OutputFormat {
  Undefined , RGBA , BGRA , ARGB ,
  ABGR , COUNT
}
 Output color format. More...
 
enum  ARErrorType { DEEPAR_ERROR_TYPE_DEBUG , DEEPAR_ERROR_TYPE_INFO , DEEPAR_ERROR_TYPE_WARNING , DEEPAR_ERROR_TYPE_ERROR }
 DeepAR error types. More...
 
enum  TouchType { START , MOVE , END }
 Possible types of an occurred touch. More...
 
enum  VarType { BOOLEAN = 0 , INT = 1 , DOUBLE = 2 , STRING = 3 }
 Possible variable types. More...
 

Detailed Description

Conatins the main DeepAR classes, structures and enumerations.

Enumeration Type Documentation

◆ ARErrorType

DeepAR error types.

Enumerator
DEEPAR_ERROR_TYPE_DEBUG 

DeepAR debug type.

DEEPAR_ERROR_TYPE_INFO 

DeepAR info type.

DEEPAR_ERROR_TYPE_WARNING 

DeepAR warning type.

DEEPAR_ERROR_TYPE_ERROR 

DeepAR error type.

◆ OutputFormat

Output color format.

Enumerator
Undefined 

Undefined format.

RGBA 

Red, green, blue and alpha format.

BGRA 

Blue, green, red and alpha format.

ARGB 

Alpha, red, green and blue format.

ABGR 

Alpha, blue, green and red format.

COUNT 

Number of formats.

◆ TouchType

enum TouchType

Possible types of an occurred touch.

Enumerator
START 

Touch type that implies that a touch was started.

MOVE 

Touch type that implies that a previously started touch changed.

END 

Touch type that implies that a previously started touch ended.

◆ VarType

enum VarType

Possible variable types.

Enumerator
BOOLEAN 

Bool variable type.

INT 

Integer variable type.

DOUBLE 

Double variable type.

STRING 

String variable type.