Projects.FaceDetection package

Submodules

Projects.FaceDetection.FaceDetection module

class Projects.FaceDetection.FaceDetection.FaceDetection(config: dict)[source]

Bases: object

Detect faces in images.

Initialize the models.

Parameters:

config (dict) – Configuration dict.

predict(image: Image) List[Face][source]

Predict the position of faces on an image.

Parameters:

image (toolbox.Structures.Image) – An Image object.

Returns:

A list of Face data models.

Return type:

List[DataModels.Face]

Projects.FaceDetection.api module

class Projects.FaceDetection.api.FaceDetectionApi[source]

Bases: ApiBase

Initialize the API.

Parameters:

base_dm (Optional[Type, optional) – Data model class that will be sent. Defaults to None.

TITLE = 'Face Detection API'
Projects.FaceDetection.api.main()[source]

Projects.FaceDetection.demo module

class Projects.FaceDetection.demo.Demo[source]

Bases: DemoBase

Initialize the demo.

Projects.FaceDetection.demo.main()[source]

Module contents