static Rect openImajRectangleToRect(org.openimaj.math.geometry.shape.Rectangle r) { ret rect(iround(r.x), iround(r.y), iround(r.width), iround(r.height)); }