C# Class Luxand.FSDK

Afficher le fichier Open project: lolo8304/focusdays2015-eyes2drive Class Usage Examples

Méthodes publiques

Méthode Description
DetectEyes ( int Image, TPoint &FacialFeatures ) : int
DetectEyesInRegion ( int Image, TFacePosition &FacePosition, TPoint &FacialFeatures ) : int
DetectFacialAttributeUsingFeatures ( int Image, TPoint &FacialFeatures, string AttributeName, string &AttributeValues, long MaxSizeInBytes ) : int
DetectFacialFeatures ( int Image, TPoint &FacialFeatures ) : int
DetectFacialFeaturesInRegion ( int Image, TFacePosition &FacePosition, TPoint &FacialFeatures ) : int
DetectMultipleFaces ( int Image, int &DetectedCount, TFacePosition &FaceArray, int MaxSizeInBytes ) : int
ExtractFaceImage ( int Image, TPoint &FacialFeatures, int Width, int Height, int &ExtractedFaceImage, TPoint &ResizedFeatures ) : int
FeedFrame ( int Tracker, long CameraIdx, int Image, long &FaceCount, long &IDs, long MaxSizeInBytes ) : int
GetAllNames ( int Tracker, long ID, string &Names, long MaxSizeInBytes ) : int
GetFaceTemplate ( int Image, byte &FaceTemplate ) : int
GetFaceTemplateInRegion ( int Image, TFacePosition &FacePosition, byte &FaceTemplate ) : int
GetFaceTemplateUsingEyes ( int Image, TPoint &eyeCoords, byte &FaceTemplate ) : int
GetFaceTemplateUsingFeatures ( int Image, TPoint &FacialFeatures, byte &FaceTemplate ) : int
GetHardware_ID ( string &HardwareID ) : int
GetLicenseInfo ( string &LicenseInfo ) : int
GetName ( int Tracker, long ID, string &Name, long MaxSizeInBytes ) : int
GetSimilarIDList ( int Tracker, long ID, long &SimilarIDList, long MaxSizeInBytes ) : int
GetTrackerEyes ( int Tracker, long CameraIdx, long ID, TPoint &FacialFeatures ) : int
GetTrackerFacialAttribute ( int Tracker, long CameraIdx, long ID, string AttributeName, string &AttributeValues, long MaxSizeInBytes ) : int
GetTrackerFacialFeatures ( int Tracker, long CameraIdx, long ID, TPoint &FacialFeatures ) : int
GetTrackerParameter ( int Tracker, string ParameterName, string &ParameterValue, long MaxSizeInBytes ) : int
InitializeLibrary ( ) : int
LoadImageFromCLRImage ( int &Image, System ImageObject ) : int
MatchFaces ( byte &FaceTemplate1, byte &FaceTemplate2, float &Similarity ) : int
SaveImageToCLRImage ( int Image, System &ImageObject ) : int
SaveTrackerMemoryToBuffer ( int Tracker, byte &Buffer, long MaxSizeInBytes ) : int

Private Methods

Méthode Description
ActivateLibrary ( string LicenseKey ) : int
ClearTracker ( int Tracker ) : int
CopyImage ( int SourceImage, int DestImage ) : int
CopyRect ( int SourceImage, int x1, int y1, int x2, int y2, int DestImage ) : int
CopyRectReplicateBorder ( int SourceImage, int x1, int y1, int x2, int y2, int DestImage ) : int
CreateEmptyImage ( int &Image ) : int
CreateTracker ( int &Tracker ) : int
DeleteObject ( IntPtr hObject ) : bool
DetectFace ( int Image, TFacePosition &FacePosition ) : int
FSDK_DetectEyesInRegion_Old ( int Image, TFacePosition &FacePosition, [ FacialFeatures ) : int
FSDK_DetectEyes_Old ( int Image, [ FacialFeatures ) : int
FSDK_DetectFacialAttributeUsingFeatures_Old ( int Image, [ FacialFeatures, string AttributeName, [ AttributeValues, long MaxSizeInBytes ) : int
FSDK_DetectFacialFeaturesInRegion_Old ( int Image, TFacePosition &FacePosition, [ FacialFeatures ) : int
FSDK_DetectFacialFeatures_Old ( int Image, [ FacialFeatures ) : int
FSDK_DetectMultipleFaces_Old ( int Image, int &DetectedCount, [ FaceArray, int MaxSizeInBytes ) : int
FSDK_ExtractFaceImage_Old ( int Image, [ FacialFeatures, int Width, int Height, int &ExtractedFaceImage, [ ResizedFeatures ) : int
FSDK_FeedFrame_Old ( int Tracker, long CameraIdx, int Image, long &FaceCount, [ IDs, long MaxSizeInBytes ) : int
FSDK_GetAllNames_Old ( int Tracker, long ID, [ Names, long MaxSizeInBytes ) : int
FSDK_GetFaceTemplateInRegion_Old ( int Image, TFacePosition &FacePosition, [ FaceTemplate ) : int
FSDK_GetFaceTemplateUsingEyes_Old ( int Image, [ eyeCoords, [ FaceTemplate ) : int
FSDK_GetFaceTemplateUsingFeatures_Old ( int Image, [ FacialFeatures, [ FaceTemplate ) : int
FSDK_GetFaceTemplate_Old ( int Image, [ FaceTemplate ) : int
FSDK_GetHardware_ID_Old ( [ HardwareID ) : int
FSDK_GetLicenseInfo_Old ( [ LicenseInfo ) : int
FSDK_GetName_Old ( int Tracker, long ID, [ Name, long MaxSizeInBytes ) : int
FSDK_GetSimilarIDList_Old ( int Tracker, long ID, [ SimilarIDList, long MaxSizeInBytes ) : int
FSDK_GetTrackerEyes_Old ( int Tracker, long CameraIdx, long ID, [ FacialFeatures ) : int
FSDK_GetTrackerFacialAttribute_Old ( int Tracker, long CameraIdx, long ID, string AttributeName, [ AttributeValues, long MaxSizeInBytes ) : int
FSDK_GetTrackerFacialFeatures_Old ( int Tracker, long CameraIdx, long ID, [ FacialFeatures ) : int
FSDK_GetTrackerParameter_Old ( int Tracker, string ParameterName, [ ParameterValue, long MaxSizeInBytes ) : int
FSDK_Initialize_Old ( string DataFilesPath ) : int
FSDK_MatchFaces_Old ( [ FaceTemplate1, [ FaceTemplate2, float &Similarity ) : int
FSDK_SaveTrackerMemoryToBuffer_Old ( int Tracker, [ Buffer, long MaxSizeInBytes ) : int
FinalizeLibrary ( ) : int
FreeImage ( int Image ) : int
FreeTracker ( int Tracker ) : int
GetIDReassignment ( int Tracker, long ID, long &ReassignedID ) : int
GetImageHeight ( int SourceImage, int &Height ) : int
GetImageWidth ( int SourceImage, int &Width ) : int
GetMatchingThresholdAtFAR ( float FARValue, float &Threshold ) : int
GetMatchingThresholdAtFRR ( float FRRValue, float &Threshold ) : int
GetNumThreads ( int &Num ) : int
GetSimilarIDCount ( int Tracker, long ID, long &Count ) : int
GetTrackerFacePosition ( int Tracker, long CameraIdx, long ID, TFacePosition &FacePosition ) : int
GetTrackerMemoryBufferSize ( int Tracker, long &BufSize ) : int
GetValueConfidence ( string AttributeValues, string Value, float &Confidence ) : int
LoadImageFromFile ( int &Image, string FileName ) : int
LoadImageFromFileW ( int &Image, [ FileName ) : int
LoadImageFromHBitmap ( int &Image, IntPtr BitmapHandle ) : int
LoadTrackerMemoryFromBuffer ( int &Tracker, byte Buffer ) : int
LoadTrackerMemoryFromFile ( int &Tracker, string FileName ) : int
LockID ( int Tracker, long ID ) : int
MirrorImage ( int Image, bool UseVerticalMirroringInsteadOfHorizontal ) : int
ResizeImage ( int SourceImage, double ratio, int DestImage ) : int
RotateImage ( int SourceImage, double angle, int DestImage ) : int
RotateImage90 ( int SourceImage, int Multiplier, int DestImage ) : int
RotateImageCenter ( int SourceImage, double angle, double xCenter, double yCenter, int DestImage ) : int
SaveImageToFile ( int Image, string FileName ) : int
SaveImageToFileW ( int Image, [ FileName ) : int
SaveImageToHBitmap ( int Image, IntPtr &BitmapHandle ) : int
SaveTrackerMemoryToFile ( int Tracker, string FileName ) : int
SetFaceDetectionParameters ( bool HandleArbitraryRotations, bool DetermineFaceRotationAngle, int InternalResizeWidth ) : int
SetFaceDetectionThreshold ( int Threshold ) : int
SetHTTPProxy ( string ServerNameOrIPAddress, UInt16 Port, string UserName, string Password ) : int
SetJpegCompressionQuality ( int Quality ) : int
SetName ( int Tracker, long ID, string Name ) : int
SetNumThreads ( int Num ) : int
SetTrackerMultipleParameters ( int Tracker, string Parameters, int &ErrorPosition ) : int
SetTrackerParameter ( int Tracker, string ParameterName, string ParameterValue ) : int
UnlockID ( int Tracker, long ID ) : int

Method Details

DetectEyes() public static méthode

public static DetectEyes ( int Image, TPoint &FacialFeatures ) : int
Image int
FacialFeatures TPoint
Résultat int

DetectEyesInRegion() public static méthode

public static DetectEyesInRegion ( int Image, TFacePosition &FacePosition, TPoint &FacialFeatures ) : int
Image int
FacePosition TFacePosition
FacialFeatures TPoint
Résultat int

DetectFacialAttributeUsingFeatures() public static méthode

public static DetectFacialAttributeUsingFeatures ( int Image, TPoint &FacialFeatures, string AttributeName, string &AttributeValues, long MaxSizeInBytes ) : int
Image int
FacialFeatures TPoint
AttributeName string
AttributeValues string
MaxSizeInBytes long
Résultat int

DetectFacialFeatures() public static méthode

public static DetectFacialFeatures ( int Image, TPoint &FacialFeatures ) : int
Image int
FacialFeatures TPoint
Résultat int

DetectFacialFeaturesInRegion() public static méthode

public static DetectFacialFeaturesInRegion ( int Image, TFacePosition &FacePosition, TPoint &FacialFeatures ) : int
Image int
FacePosition TFacePosition
FacialFeatures TPoint
Résultat int

DetectMultipleFaces() public static méthode

public static DetectMultipleFaces ( int Image, int &DetectedCount, TFacePosition &FaceArray, int MaxSizeInBytes ) : int
Image int
DetectedCount int
FaceArray TFacePosition
MaxSizeInBytes int
Résultat int

ExtractFaceImage() public static méthode

public static ExtractFaceImage ( int Image, TPoint &FacialFeatures, int Width, int Height, int &ExtractedFaceImage, TPoint &ResizedFeatures ) : int
Image int
FacialFeatures TPoint
Width int
Height int
ExtractedFaceImage int
ResizedFeatures TPoint
Résultat int

FeedFrame() public static méthode

public static FeedFrame ( int Tracker, long CameraIdx, int Image, long &FaceCount, long &IDs, long MaxSizeInBytes ) : int
Tracker int
CameraIdx long
Image int
FaceCount long
IDs long
MaxSizeInBytes long
Résultat int

GetAllNames() public static méthode

public static GetAllNames ( int Tracker, long ID, string &Names, long MaxSizeInBytes ) : int
Tracker int
ID long
Names string
MaxSizeInBytes long
Résultat int

GetFaceTemplate() public static méthode

public static GetFaceTemplate ( int Image, byte &FaceTemplate ) : int
Image int
FaceTemplate byte
Résultat int

GetFaceTemplateInRegion() public static méthode

public static GetFaceTemplateInRegion ( int Image, TFacePosition &FacePosition, byte &FaceTemplate ) : int
Image int
FacePosition TFacePosition
FaceTemplate byte
Résultat int

GetFaceTemplateUsingEyes() public static méthode

public static GetFaceTemplateUsingEyes ( int Image, TPoint &eyeCoords, byte &FaceTemplate ) : int
Image int
eyeCoords TPoint
FaceTemplate byte
Résultat int

GetFaceTemplateUsingFeatures() public static méthode

public static GetFaceTemplateUsingFeatures ( int Image, TPoint &FacialFeatures, byte &FaceTemplate ) : int
Image int
FacialFeatures TPoint
FaceTemplate byte
Résultat int

GetHardware_ID() public static méthode

public static GetHardware_ID ( string &HardwareID ) : int
HardwareID string
Résultat int

GetLicenseInfo() public static méthode

public static GetLicenseInfo ( string &LicenseInfo ) : int
LicenseInfo string
Résultat int

GetName() public static méthode

public static GetName ( int Tracker, long ID, string &Name, long MaxSizeInBytes ) : int
Tracker int
ID long
Name string
MaxSizeInBytes long
Résultat int

GetSimilarIDList() public static méthode

public static GetSimilarIDList ( int Tracker, long ID, long &SimilarIDList, long MaxSizeInBytes ) : int
Tracker int
ID long
SimilarIDList long
MaxSizeInBytes long
Résultat int

GetTrackerEyes() public static méthode

public static GetTrackerEyes ( int Tracker, long CameraIdx, long ID, TPoint &FacialFeatures ) : int
Tracker int
CameraIdx long
ID long
FacialFeatures TPoint
Résultat int

GetTrackerFacialAttribute() public static méthode

public static GetTrackerFacialAttribute ( int Tracker, long CameraIdx, long ID, string AttributeName, string &AttributeValues, long MaxSizeInBytes ) : int
Tracker int
CameraIdx long
ID long
AttributeName string
AttributeValues string
MaxSizeInBytes long
Résultat int

GetTrackerFacialFeatures() public static méthode

public static GetTrackerFacialFeatures ( int Tracker, long CameraIdx, long ID, TPoint &FacialFeatures ) : int
Tracker int
CameraIdx long
ID long
FacialFeatures TPoint
Résultat int

GetTrackerParameter() public static méthode

public static GetTrackerParameter ( int Tracker, string ParameterName, string &ParameterValue, long MaxSizeInBytes ) : int
Tracker int
ParameterName string
ParameterValue string
MaxSizeInBytes long
Résultat int

InitializeLibrary() public static méthode

public static InitializeLibrary ( ) : int
Résultat int

LoadImageFromCLRImage() public static méthode

public static LoadImageFromCLRImage ( int &Image, System ImageObject ) : int
Image int
ImageObject System
Résultat int

MatchFaces() public static méthode

public static MatchFaces ( byte &FaceTemplate1, byte &FaceTemplate2, float &Similarity ) : int
FaceTemplate1 byte
FaceTemplate2 byte
Similarity float
Résultat int

SaveImageToCLRImage() public static méthode

public static SaveImageToCLRImage ( int Image, System &ImageObject ) : int
Image int
ImageObject System
Résultat int

SaveTrackerMemoryToBuffer() public static méthode

public static SaveTrackerMemoryToBuffer ( int Tracker, byte &Buffer, long MaxSizeInBytes ) : int
Tracker int
Buffer byte
MaxSizeInBytes long
Résultat int