# bb_area¶

menpofit.error.bb_area(shape)[source]

Computes the area of the bounding box of the provided shape, i.e.

$h w$

where $$h$$ and $$w$$ are the height and width of the bounding box.

Parameters

shape (menpo.shape.PointCloud or subclass) – The input shape.

Returns

bb_area (float) – The area of the bounding box.