C# Class FaceDetection.Model.CameraHandler

Inheritance: IDisposable
Afficher le fichier Open project: PkInfRemi/FaceDetectionApp Class Usage Examples

Méthodes publiques

Méthode Description
CreateCapture ( int selection ) : Capture

Creates a capture.

GetAllCameras ( ) : List

Gets all connected webcams.

GetDetectedSnippets ( Capture capture ) : List

Makes a snapshot and gets the snippets where a face was detected.

ProcessImage ( Capture capture ) : Bitmap

Captures and processes the image.

Private Methods

Méthode Description
CameraHandler ( ) : System

Initializes the CameraHandler class.

Dispose ( ) : void
InitializeFaceDetection ( ) : void
RecognizeUser ( byte>.Image &original, byte>.Image grayframe, Rectangle rectangle ) : void

Method Details

CreateCapture() public méthode

Creates a capture.
public CreateCapture ( int selection ) : Capture
selection int The camera selection.
Résultat Emgu.CV.Capture

GetAllCameras() public static méthode

Gets all connected webcams.
public static GetAllCameras ( ) : List
Résultat List

GetDetectedSnippets() public méthode

Makes a snapshot and gets the snippets where a face was detected.
public GetDetectedSnippets ( Capture capture ) : List
capture Emgu.CV.Capture The capture.
Résultat List

ProcessImage() public méthode

Captures and processes the image.
public ProcessImage ( Capture capture ) : Bitmap
capture Emgu.CV.Capture The capture.
Résultat System.Drawing.Bitmap