Skip to content

Allow appriximate bounding polygons for large image groups

Compare
Choose a tag to compare
@mcara mcara released this 14 Apr 04:50
62d4cdc

This release adds an argument (group_bb_policy and bb_policy) that controls how the bounding box is computed for groups of images. It introduces a new algorithm that approximates the bounding box using convex hull of individual images' bounding polygons instead of computing the exact union of individual polygons. The exact algorithm becomes extremely slow for large groups of images (>50).

Also see #176