I\'m trying to find a match between a set of 2D boxes (A) (from a template with known sizes and distances between boxes) to another set of 2D boxes (B) (which may contain mo