Menpo Documentation

Menpo Documentation

Release 0.11.0.dev8+ga6150065.dirty

Joan Alabort-i-Medina, Epameinondas Antonakos, James Booth, P

Jan 02, 2022

CONTENTS

1

API Documentation

1.1 menpo.base . . . .

1.2 menpo.io . . . . . .

1.3 menpo.image . . .

1.4 menpo.feature . .

1.5 menpo.landmark .

1.6 menpo.math . . . .

1.7 menpo.model . . .

1.8 menpo.shape . . .

1.9 menpo.transform

1.10 menpo.visualize

1.11 Changelog . . . . . .

Index

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

3

3

8

19

101

107

140

146

176

319

393

406

429

i

ii

Menpo Documentation, Release 0.11.0.dev8+ga6150065.dirty

Menpo is a Python package designed to make manipulating annotated data more simple. In particular, sparse locations

on either images or meshes, referred to as landmarks within Menpo, are tightly coupled with their reference objects.

For areas such as Computer Vision that involve learning models based on prior knowledge of object location (such as

object detection and landmark localisation), Menpo is a very powerful toolkit.

A short example is often more illustrative than a verbose explanation. Let¡¯s assume that you want to load a set of

images that have been annotated with bounding boxes, and that these bounding box locations live in text files next to

the images. Here¡¯s how we would load the images and extract the areas within the bounding boxes using Menpo:

import menpo.io as mio

images = []

for image in mio.import_images('./images_folder'):

images.append(image.crop_to_landmarks())

Where import_images returns a LazyList to keep memory usage low.

Although the above is a very simple example, we believe that being able to easily manipulate and couple landmarks

with images and meshes, is an important problem for building powerful models in areas such as facial point localisation.

Finally, please refer to Menpo¡¯s Changelog for a list of changes per release.

CONTENTS

1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download