visageSDK
Properties | List of all members
FeaturePoint Class Reference

Objective-C wrapper of the VisageSDK::FeaturePoint class. More...

#import <objc_FeaturePoint.h>

Inherits NSObject.

Properties

float * pos
 Position. More...
 
int defined
 Set with regards to the 3D model used. More...
 
int detected
 Set with regards to the tracking algorithm used. More...
 
float quality
 Information about the accuracy of the tracking algorithm for this feature point in the current frame. More...
 
int vert
 Identifier of the vertex to which the vertex corresponding to the feature point belongs. More...
 
NSString * surf
 Identifier of the polygon mesh (surface) to which the vertex corresponding to the feature point belongs. More...
 

Detailed Description

Objective-C wrapper of the VisageSDK::FeaturePoint class.

Definition at line 20 of file objc_FeaturePoint.h.

Property Documentation

◆ defined

- (int) defined
readatomicassign

Set with regards to the 3D model used.

More information about 3D models used in tracking can be found in VisageTracker Configuration Manual.

Set to 1 if feature point is defined in the corresponding .fdp file. Otherwise, the feature point should not be used.

Definition at line 41 of file objc_FeaturePoint.h.

◆ detected

- (int) detected
readatomicassign

Set with regards to the tracking algorithm used.

If 1, indicates that the feature point is obtained from a 2D image using the tracking algorithm. 0 indicates that the feature point is estimated from fitting a 3D model onto the detected feature points of the face.

NOTE: This information is returned exclusively within FaceData::featurePoints2D.

Definition at line 50 of file objc_FeaturePoint.h.

◆ pos

- (float*) pos
readatomicassign

Position.

x, y, z coordinates of the feature point. If the feature point is 2-dimensional (e.g. feature points in an image) the z coordinate is ignored.

Definition at line 32 of file objc_FeaturePoint.h.

◆ quality

- (float) quality
readatomicassign

Information about the accuracy of the tracking algorithm for this feature point in the current frame.

Quality is returned as a value from 0 to 1, where 0 is the worst and 1 is the best quality. If -1 is returned, quality is not estimated.

This information is returned for all feature points' groups except for groups 10 (ears), 13 (visible contour) and 15 (physical contour) for which the returned value will always be -1.

NOTE: This information is returned exclusively within FaceData::featurePoints2D.

Definition at line 61 of file objc_FeaturePoint.h.

◆ surf

- (NSString*) surf
readatomicassign

Identifier of the polygon mesh (surface) to which the vertex corresponding to the feature point belongs.

If the feature points are not defined on a 3D model (e.g. if they represent points in a 2D image), this is not used.

Definition at line 74 of file objc_FeaturePoint.h.

◆ vert

- (int) vert
readatomicassign

Identifier of the vertex to which the vertex corresponding to the feature point belongs.

This is the vertex index within the polygon mesh (surface) identified by surf. If the feature points are not defined on a 3D model (e.g. if they represent points in a 2D image), this is not used.

Definition at line 68 of file objc_FeaturePoint.h.


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