I guess you could cheat and add a rectangle around the image before detection - then you’d always have a full rectangle