Свойство | Тип | Описание | |
---|---|---|---|
Appearance_Click | void | ||
CenterWindowOnScreen | void | ||
ConstructImage | System.Windows.Media.Imaging.BitmapSource | ||
DrawCapturedImage | void | ||
DrawData | void | ||
Emojis_Click | void | ||
Metrics_Click | void | ||
Points_Click | void | ||
ResetCameraProcessing | void | ||
ResetDisplayArea | void | ||
ShowExceptionAndShutDown | void | ||
StartCameraProcessing | void | ||
StopCameraProcessing | void | ||
TakeScreenShot | void | ||
TurnOnClassifiers | void | ||
Window_Closing | void | ||
Window_Loaded | void | ||
btnAppShot_Click | void | ||
btnChooseWin_Click | void | ||
btnExit_Click | void | ||
btnResetCamera_Click | void | ||
btnStartCamera_Click | void | ||
btnStopCamera_Click | void | ||
changeButtonStyle | void |
Метод | Описание | |
---|---|---|
MainWindow ( ) : System | ||
MainWindow_ContentRendered ( object sender, |
Once the window las been loaded and the content rendered, the camera can be initialized and started. This sequence allows for the underlying controls and watermark logo to be displayed.
|
|
SaveSettings ( ) : void |
Saves the settings.
|
|
onImageCapture ( Affdex image ) : void |
Handles the Image capture from source produced by Affdex.Detector
|
|
onImageResults ( Affdex.Face>.Dictionary |
Handles the Image results event produced by Affdex.Detector
|
|
onProcessingException ( Affdex ex ) : void |
Handles occurence of exception produced by Affdex.Detector
|
|
onProcessingFinished ( ) : void |
Handles the end of processing event; not used
|
Метод | Описание | |
---|---|---|
Appearance_Click ( object sender, |
Handles the Click event of the Appearance control.
|
|
CenterWindowOnScreen ( ) : void |
Center the main window on the screen
|
|
ConstructImage ( byte imageData, int width, int height ) : System.Windows.Media.Imaging.BitmapSource |
Constructs the bitmap image from byte array.
|
|
DrawCapturedImage ( Affdex image ) : void |
Draws the image captured from the camera.
|
|
DrawData ( Affdex image, Affdex.Face>.Dictionary |
Draws the facial analysis captured by Affdex.Detector.
|
|
Emojis_Click ( object sender, |
Handles the Click event of the Emojis control.
|
|
Metrics_Click ( object sender, |
Handles the Click event of the Metrics control.
|
|
Points_Click ( object sender, |
Handles the Click event of the Points control.
|
|
ResetCameraProcessing ( ) : void |
Resets the camera processing.
|
|
ResetDisplayArea ( ) : void |
Resets the display area.
|
|
ShowExceptionAndShutDown ( String exceptionMessage ) : void |
Displays a alert with exception details
|
|
StartCameraProcessing ( ) : void |
Starts the camera processing.
|
|
StopCameraProcessing ( ) : void |
Stops the camera processing.
|
|
TakeScreenShot ( String fileName ) : void |
Take a shot of the current canvas and save it to a png file on disk
|
|
TurnOnClassifiers ( ) : void |
Turns the on classifiers.
|
|
Window_Closing ( object sender, System e ) : void |
Handles the Closing event of the Window control.
|
|
Window_Loaded ( object sender, |
Handles the Loaded event of the Window control.
|
|
btnAppShot_Click ( object sender, |
Handles the Click eents of the Take Screenshot control
|
|
btnChooseWin_Click ( object sender, |
Handles the Click event of the btnChooseWin control.
|
|
btnExit_Click ( object sender, |
Handles the Click event of the btnExit control.
|
|
btnResetCamera_Click ( object sender, |
Handles the Click event of the btnResetCamera control.
|
|
btnStartCamera_Click ( object sender, |
Handles the Click event of the btnStartCamera control.
|
|
btnStopCamera_Click ( object sender, |
Handles the Click event of the btnStopCamera control.
|
|
changeButtonStyle ( System.Windows.Controls.Button button, bool isOn ) : void |
Changes the button style based on the specified flag.
|
public MainWindow_ContentRendered ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public onImageCapture ( Affdex image ) : void | ||
image | Affdex | The |
Результат | void |
public onImageResults ( Affdex.Face>.Dictionary |
||
faces | Affdex.Face>.Dictionary | The detected faces. |
image | Affdex | The |
Результат | void |
public onProcessingException ( Affdex ex ) : void | ||
ex | Affdex | The |
Результат | void |