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

use your own Makefile.config to compile? #27

Closed FakerYFX closed 5 years ago

FakerYFX commented 5 years ago

what does this mean? cd ROOT/caffe/ and use your own Makefile.config to compile

@Yuliang-Liu

zhangshuaitao commented 5 years ago

@xieyufei1993 ,We recommend that you compile the Makefile.config that have been successfully compiled on your other projects. Of course, you can also compile with what we provide。We are just concerned that the compiled environment we provide may not be the same as the one you have installed locally. Wish you all the best.

                Of course, you can also compile with what we provide
FakerYFX commented 5 years ago

Thanks for your reply, I also want to know how to train my own data, the format is just like this :x1,y1,x2,y2,x3,y3,x4,y4,text, look forward to hearing from you ! @zhangshuaitao

zhangshuaitao commented 5 years ago

The format is just like this : xmin, ymin, xmax, ymax, pw_1, ph_1, pw_2, ph_2, ..., pw_14, ph_14. The total number is of gt items is 32. The first 4 values are x, y minimum and maximum of the circumscribed rectangle. The remaining 28 values are the offsets of the 14 points. You can refer to the figure below. _20190123184426 @xieyufei1993

FakerYFX commented 5 years ago

ok,thank you very much! but how to confirm the 14 points? @zhangshuaitao

Yuliang-Liu commented 5 years ago

@xieyufei1993 Given a GT annotation, using x_i = x_min+ pw_i and y_i = y_min + ph_i to get coordinates of all 14 points.