visageSDK
Instance Methods | List of all members
VisageFeaturesDetectorWrapper Class Reference

Implements simple high-level Objective-C interface around VisageSDK::VisageFeaturesDetector functionallity. More...

#import <VisageFeaturesDetectorWrapper.h>

Inherits NSObject.

Instance Methods

(void) - initDetector
 Method for initializing the detector. More...
 
(UIImage *) - drawFeatures:
 Method for drawing features on an image. More...
 

Detailed Description

Implements simple high-level Objective-C interface around VisageSDK::VisageFeaturesDetector functionallity.

This makes connecting the iOS app GUI with visage|SDK features detector functionaly easier as primary programming language used in iOS apps is Objective-C while primary programming language used in visage|SDK is C++. The class is a subclass of NSObject and it uses Objective-C++ for implementation details.

Definition at line 22 of file VisageFeaturesDetectorWrapper.h.

Method Documentation

◆ drawFeatures:()

- (UIImage *) drawFeatures: (UIImage*)  image

Method for drawing features on an image.

This method detects the features on the input image and returns a new image with the features drawn.

Definition at line 25 of file VisageFeaturesDetectorWrapper.mm.

◆ initDetector()

- (void) initDetector

Method for initializing the detector.

This method creates a new VisageFeaturesDetector object by choosing "Face Detector.cfg" configuration file. Default location of the configuration file is in the root of the Resources folder. Passed paths are expected to be relative to the current working directory.

Definition at line 13 of file VisageFeaturesDetectorWrapper.mm.


The documentation for this class was generated from the following files: