line: 42,31,88,31,135,31,182,31,182,60,135,60,88,60,42,60,####杰森柔声说
line2: 42,31,88,31,135,31,182,31,182,60,135,60,88,60,42,60,####杰森柔声说
cors: ['42', '31', '88', '31', '135', '31', '182', '31', '182', '60', '135', '60', '88', '60', '42', '60']
points: [42.0, 31.0, 88.0, 31.0, 135.0, 31.0, 182.0, 31.0, 182.0, 60.0, 135.0, 60.0, 88.0, 60.0, 42.0, 60.0]
Traceback (most recent call last):
File "main.py", line 19, in <module>
res = e.evaluate()
File "/home/micla/下载/evaluation_det_e2e_offline_v3/text_evaluation.py", line 180, in evaluate
text_result = self.evaluate_with_official_code(result_path, self._text_eval_gt_path)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/text_evaluation.py", line 169, in evaluate_with_official_code
return text_eval_script.text_eval_main(det_file=result_path, gt_file=gt_path, is_word_spotting=self._word_spotting)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/text_eval_script.py", line 473, in text_eval_main
return rrc_evaluation_funcs.main_evaluation(None,det_file, gt_file, default_evaluation_params,validate_data,evaluate_method)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/rrc_evaluation_funcs.py", line 418, in main_evaluation
validate_data_fn(p['g'], p['s'], evalParams)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/text_eval_script.py", line 54, in validate_data
rrc_evaluation_funcs.validate_lines_in_file_gt(k,gt[k],evaluationParams['CRLF'],evaluationParams['LTRB'],True)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/rrc_evaluation_funcs.py", line 109, in validate_lines_in_file_gt
validate_tl_line_gt(line,LTRB,withTranscription,withConfidence,imWidth,imHeight)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/rrc_evaluation_funcs.py", line 138, in validate_tl_line_gt
get_tl_line_values_gt(line,LTRB,withTranscription,withConfidence,imWidth,imHeight)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/rrc_evaluation_funcs.py", line 214, in get_tl_line_values_gt
validate_clockwise_points(points)
File "/home/micla/下载/evaluation_det_e2e_offline_v3/rrc_evaluation_funcs.py", line 336, in validate_clockwise_points
assert(0), ("Points are not clockwise. The coordinates of bounding quadrilaterals have to be given in clockwise order. Regarding the correct interpretation of 'clockwise' remember that the image coordinate system used is the standard one, with the image origin at the upper left, the X axis extending to the right and Y axis extending downwards.")
AssertionError: Points are not clockwise. The coordinates of bounding quadrilaterals have to be given in clockwise order. Regarding the correct interpretation of 'clockwise' remember that the image coordinate system used is the standard one, with the image origin at the upper left, the X axis extending to the right and Y axis extending downwards.
I'm trying my own dataset。I refer to https://github.com/aim-uofa/AdelaiDet/issues/401 。 There is this error in the evaluation, which I can't understand. I think it's clockwise
@Yuliang-Liu Do you have time to look at this issue?