Yuliang-Liu / Curve-Text-Detector

This repository provides train&test code, dataset, det.&rec. annotation, evaluation script, annotation tool, and ranking.
642 stars 156 forks source link

关于评测的问题 #40

Closed Banyueqin closed 5 years ago

Banyueqin commented 5 years ago

您好: 是txt结果每个box坐标必须在一行吗,比如我的一个box坐标是好几行坐标

Banyueqin commented 5 years ago

Curve-Text-Detector/tools/ctw1500_evaluation/voc_eval_polygon.py", line 137, in voc_eval_polygon BB = np.array([[float(z) for z in x[2:]] for x in splitlines]) ValueError: could not convert string to float:

Banyueqin commented 5 years ago

会出这个错误

Yuliang-Liu commented 5 years ago

在一行,格式可以参考给出的例子

Yuliang-Liu commented 5 years ago

评测也可以参考 https://github.com/Yuliang-Liu/TIoU-metric/tree/master/curved-tiou 也有给出样例,可能更容易一点评估,供你参考~