This is a CAFFE re-implementation of EAST: An Efficient and Accurate Scene Text Detector.
thanks to these project:
The features are summarized blow:
Build geo_map_cython_lib ( Accelerate preprocessing in distance calculation)
cd geo_map_cython_lib
sh build_ext.sh
https://pan.baidu.com/s/1_daEvvt7ur3FdXVxVKSF9A ( extract code:krdu )
https://pan.baidu.com/s/1DLTJDiRIqihE6ad5uiHEFA ( extract code:pn0w )
https://pan.baidu.com/s/1KpG7xFPChyJMftAGR2SdYw ( extract code:m70q )
If you want to train the model, you should provide the dataset path, in the dataset path, the images and the gt text files should be separated into two filefolders as shown as below:
train_images\ train_gts\ test_images\ test_gts\
and the gts content format is
x1,y1,x2,y2,x3,y3,x4,y4,recog_results
and run
python train.py --gpu 0 --initmodel my_model.caffemodel
If you have more than one gpu, you can pass gpu ids to gpu_list(like --gpu 0,1,2,3)
Put the pretrained model into snapshot directory.
Then run
python demo.py