Click or drag to resize
VideoDetector Class
A Detector used to process a video file.

This class opens a video file and will immediately start decoding and processing frames from the video file.

Inheritance Hierarchy

Namespace: Affdex
Assembly: Affdex (in Affdex.dll) Version: 3.4.0.1306 (3.4.0.1306)
Syntax
public class VideoDetector : Detector

The VideoDetector type exposes the following members.

Constructors
  NameDescription
Public methodVideoDetector
Creates a VideoDetector with the default parameters:

processFPS = 30. Capture framerate from the process.

maxNumFaces = 1. The max number of faces to be tracked.

faceConfig = FaceDetectorMode.LARGE_FACES. Face detector configuration.

Public methodVideoDetector(Double)
Creates a VideoDetector with custom processing frame rate.
Public methodVideoDetector(Double, UInt32, FaceDetectorMode)
Creates a VideoDetector with custom processing frame rate and face detector config.
Top
Methods
  NameDescription
Public methoddisableAnalytics
Disable Analytics.
(Inherited from Detector.)
Public methodDispose
Virtual destructor.
(Inherited from Detector.)
Public methodenableAnalytics
Enable Analytics.
(Inherited from Detector.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodgetDetectAge
Gets the current state of age detection.
(Inherited from Detector.)
Public methodgetDetectAnger
Gets the current state of anger detection.
(Inherited from Detector.)
Public methodgetDetectAttention
Gets the current state of attention detection.
(Inherited from Detector.)
Public methodgetDetectBrowFurrow
Gets the current state of eyebrow furrow detection.
(Inherited from Detector.)
Public methodgetDetectBrowRaise
Gets the current state of eyebrow raise detection.
(Inherited from Detector.)
Public methodgetDetectCheekRaise
Gets the current state of cheek raise detection.
(Inherited from Detector.)
Public methodgetDetectChinRaise
Gets the current state of chin raiser detection.
(Inherited from Detector.)
Public methodgetDetectContempt
Gets the current state of contempt detection.
(Inherited from Detector.)
Public methodgetDetectDimpler
Gets the current state of dimpler detection.
(Inherited from Detector.)
Public methodgetDetectDisgust
Gets the current state of disgust detection.
(Inherited from Detector.)
Public methodgetDetectEngagement
Gets the current state of engagement detection.
(Inherited from Detector.)
Public methodgetDetectEthnicity
Gets the current state of ethnicity detection.
(Inherited from Detector.)
Public methodgetDetectEyeClosure
Gets the current state of eye closure detection.
(Inherited from Detector.)
Public methodgetDetectEyeWiden
Gets the current state of eye widen detection.
(Inherited from Detector.)
Public methodgetDetectFear
Gets the current state of fear detection.
(Inherited from Detector.)
Public methodgetDetectGender
Gets the current state of gender detection.
(Inherited from Detector.)
Public methodgetDetectGlasses
Gets the current state of glasses detection.
(Inherited from Detector.)
Public methodgetDetectInnerBrowRaise
Gets the current state of inner eyebrow raise detection.
(Inherited from Detector.)
Public methodgetDetectJawDrop
Gets the current state of jaw drop detection.
(Inherited from Detector.)
Public methodgetDetectJoy
Gets the current state of joy detection.
(Inherited from Detector.)
Public methodgetDetectLidTighten
Gets the current state of lid tighten detection.
(Inherited from Detector.)
Public methodgetDetectLipCornerDepressor
Gets the current state of lip corner depressor detection.
(Inherited from Detector.)
Public methodgetDetectLipPress
Gets the current state of lip press detection.
(Inherited from Detector.)
Public methodgetDetectLipPucker
Gets the current state of lip pucker detection.
(Inherited from Detector.)
Public methodgetDetectLipStretch
Gets the current state of lip stretch detection.
(Inherited from Detector.)
Public methodgetDetectLipSuck
Gets the current state of lip suck detection.
(Inherited from Detector.)
Public methodgetDetectMouthOpen
Gets the current state of mouth open detection.
(Inherited from Detector.)
Public methodgetDetectNoseWrinkle
Gets the current state of nose wrinkler detection.
(Inherited from Detector.)
Public methodgetDetectSadness
Gets the current state of sadness detection.
(Inherited from Detector.)
Public methodgetDetectSmile
Gets the current state of smile detection.
(Inherited from Detector.)
Public methodgetDetectSmirk
Gets the current state of smirk detection.
(Inherited from Detector.)
Public methodgetDetectSurprise
Gets the current state of surprise detection.
(Inherited from Detector.)
Public methodgetDetectUpperLipRaise
Gets the current state of upper lip raiser detection.
(Inherited from Detector.)
Public methodgetDetectValence
Gets the current state of valence detection.
(Inherited from Detector.)
Public methodgetFaceDetectorMode
Gets the face detector configuration in use
(Inherited from Detector.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodgetMaxNumberFaces
Gets the max number of faces to be tracked.
(Inherited from Detector.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisRunning
Returns the state of the detector.
(Inherited from Detector.)
Public methodprocess
Open a video file
Public methodreset
Reset the processing state of the detector. This method enables an already initialized detector to begin processing a second video/camera feed.
(Inherited from Detector.)
Public methodsetClassifierPath
Sets the classifier path.
(Inherited from Detector.)
Public methodsetDetectAge
Configure the age detection state.
(Inherited from Detector.)
Public methodsetDetectAllAppearances
Configure the detection state of all appearances.
(Inherited from Detector.)
Public methodsetDetectAllEmojis
Configure the detection state of all emojis.
(Inherited from Detector.)
Public methodsetDetectAllEmotions
Configure the detection state of all expressions.
(Inherited from Detector.)
Public methodsetDetectAllExpressions
Configure the detection state of all expressions.
(Inherited from Detector.)
Public methodsetDetectAnger
Configure the anger detection state.
(Inherited from Detector.)
Public methodsetDetectAttention
Configure the attention detection state.
(Inherited from Detector.)
Public methodsetDetectBrowFurrow
Configure the eyebrow furrow detection state.
(Inherited from Detector.)
Public methodsetDetectBrowRaise
Configure the eyebrow raise detection state.
(Inherited from Detector.)
Public methodsetDetectCheekRaise
Configure the cheek raise detection state.
(Inherited from Detector.)
Public methodsetDetectChinRaise
Configure the chin raiser detection state.
(Inherited from Detector.)
Public methodsetDetectContempt
Configure the contempt detection state.
(Inherited from Detector.)
Public methodsetDetectDimpler
Configure the dimpler detection state.
(Inherited from Detector.)
Public methodsetDetectDisgust
Configure the disgust detection state.
(Inherited from Detector.)
Public methodsetDetectEngagement
Configure the engagement detection state.
(Inherited from Detector.)
Public methodsetDetectEthnicity
Configure the ethniicty detection state.
(Inherited from Detector.)
Public methodsetDetectEyeClosure
Configure the eye closure detection state.
(Inherited from Detector.)
Public methodsetDetectEyeWiden
Configure the eye widen detection state.
(Inherited from Detector.)
Public methodsetDetectFear
Configure the fear detection state.
(Inherited from Detector.)
Public methodsetDetectGender
Configure the gender detection state.
(Inherited from Detector.)
Public methodsetDetectGlasses
Configure the glasses detection state.
(Inherited from Detector.)
Public methodsetDetectInnerBrowRaise
Configure the inner eyebrow raise detection state.
(Inherited from Detector.)
Public methodsetDetectJawDrop
Configure the jaw drop detection state.
(Inherited from Detector.)
Public methodsetDetectJoy
Configure the joy detection state.
(Inherited from Detector.)
Public methodsetDetectLidTighten
Configure the lid tighten detection state.
(Inherited from Detector.)
Public methodsetDetectLipCornerDepressor
Configure the lip corner depressor detection state.
(Inherited from Detector.)
Public methodsetDetectLipPress
Configure the lip press detection state.
(Inherited from Detector.)
Public methodsetDetectLipPucker
Configure the lip pucker detection state.
(Inherited from Detector.)
Public methodsetDetectLipStretch
Configure the lip stretch detection state.
(Inherited from Detector.)
Public methodsetDetectLipSuck
Configure the lip suck detection state.
(Inherited from Detector.)
Public methodsetDetectMouthOpen
Configure the mouth open detection state.
(Inherited from Detector.)
Public methodsetDetectNoseWrinkle
Configure the nose wrinkler detection state.
(Inherited from Detector.)
Public methodsetDetectSadness
Configure the sadness detection state.
(Inherited from Detector.)
Public methodsetDetectSmile
Configure the smile detection state.
(Inherited from Detector.)
Public methodsetDetectSmirk
Configure the smirk detection state.
(Inherited from Detector.)
Public methodsetDetectSurprise
Configure the surprise detection state.
(Inherited from Detector.)
Public methodsetDetectUpperLipRaise
Configure the upper lip raiser detection state.
(Inherited from Detector.)
Public methodsetDetectValence
Configure the valence detection state.
(Inherited from Detector.)
Public methodsetFaceListener
Sets the FaceListener listener.
(Inherited from Detector.)
Public methodsetImageListener
Sets the ImageListener listener.
(Inherited from Detector.)
Public methodsetLicensePath Obsolete.
Sets the path to the license file used to verify the SDK.
(Inherited from Detector.)
Public methodsetLicenseString(Byte) Obsolete.
Sets the license string used to verify the SDK.
(Inherited from Detector.)
Public methodsetLicenseString(String) Obsolete.
Sets the license string used to verify the SDK.
(Inherited from Detector.)
Public methodsetProcessStatusListener
Sets the ProcessStatusListener listener.
(Inherited from Detector.)
Public methodstart
Initialize the detector.
(Inherited from Detector.)
Public methodstop
Stop the detector and deallocate resources.
(Inherited from Detector.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
See Also