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