C# Класс FaceDetection.Model.CameraHandler

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CameraHandler ( ) : System

Initializes the CameraHandler class.

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

Описание методов

CreateCapture() публичный Метод

Creates a capture.
public CreateCapture ( int selection ) : Capture
selection int The camera selection.
Результат Emgu.CV.Capture

GetAllCameras() публичный статический Метод

Gets all connected webcams.
public static GetAllCameras ( ) : List
Результат List

GetDetectedSnippets() публичный Метод

Makes a snapshot and gets the snippets where a face was detected.
public GetDetectedSnippets ( Capture capture ) : List
capture Emgu.CV.Capture The capture.
Результат List

ProcessImage() публичный Метод

Captures and processes the image.
public ProcessImage ( Capture capture ) : Bitmap
capture Emgu.CV.Capture The capture.
Результат System.Drawing.Bitmap