makeup|SDK makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.

Loading...
Searching...
No Matches
Instance Methods | List of all members
FaceTracker Class Reference

`#import <FaceTracker.h>`

Inherits NSObject.

## Instance Methods
(void) | - StartAnalysis:
(void) | - StopAnalysis
(void) | - Reset

## Detailed Description

Provides tracking results obtained by visage|SDK. To enable this module pass the appropriate license to the SDKProvider.

## Method Documentation

## ◆ Reset

- (void) Reset |  |  |

Resets the internal state of the face tracker.

## ◆ StartAnalysis:

- (void) StartAnalysis: |  | (void(^)(BeautyFaceData *)) | callback |

Initiates face tracking. When a frame has been analyzed a call to the block function is issued, with the analysis results passed as an argument.

Parameters

  callback | A block function that will be called each time a frame is processed.

## ◆ StopAnalysis

- (void) StopAnalysis |  |  |

Stops the face tracker and stops issuing calls to the callback given as a argument to the StartAnalysis function.