6.4.2. boing.gesture.utils — Recognizers’ common utilities

The boing.gesture.utils module contains common method used by different recognizers.

boing.gesture.utils.boundingBox(points)

Return the tuple (minx, miny, maxx, maxy) defining the bounding box for points.

boing.gesture.utils.updateBoundingBox(bb1, bb2)

Return the tuple (minx, miny, maxx, maxy) defining the bounding box containing the bounding boxes bb1 and bb2.

Previous topic

6.4.1. boing.gesture.rubine — The Rubine’s recognition algorithm

Next topic

6.5. boing.net — Networking and encoding tools