Projects.Keypoints package

Submodules

Projects.Keypoints.Keypoints module

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

Bases: object

Predict person keypoints from images.

Initialize the model.

Parameters:

config (dict) – A configuration dict.

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

Predict person keypoints from an image.

Parameters:

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

Returns:

A list of PersonKeyPoints objects.

Return type:

List[PersonKeyPoints]

Projects.Keypoints.api module

class Projects.Keypoints.api.KeypointsApi[source]

Bases: ApiBase

Initialize the API.

Parameters:

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

TITLE = 'Keypoints API'
Projects.Keypoints.api.main()[source]

Projects.Keypoints.demo module

class Projects.Keypoints.demo.Demo[source]

Bases: DemoBase

Initialize the demo.

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

Module contents