def bboxes_encode(self, cord, anchors, num, scope='text_bboxes_encode'): """Econde the groudtruth Lables, offsets and links """ return textbox_common.tf_text_bboxes_encode( cord, anchors, num, )
def bboxes_encode(self,glabels, bboxes, anchors, gxs, gys, scope='text_bboxes_encode'): """Encode labels and bounding boxes. """ return textbox_common.tf_text_bboxes_encode( glabels, bboxes, anchors, gxs, gys, matching_threshold=0.5, prior_scaling=self.params.prior_scaling, scope=scope)
def bboxes_encode(self, bboxes, anchors, num, scope='text_bboxes_encode'): """Encode labels and bounding boxes. """ return textbox_common.tf_text_bboxes_encode( bboxes, anchors, num, match_threshold=self.params.match_threshold, prior_scaling=self.params.prior_scaling, scope=scope)