Gaussian affinity and GIoU-based loss for perforation detection and localization from colonoscopy videos