my blog:https://blog.csdn.net/fanzonghao/article/details/106302632
nms and bbox utils are written in cython, you have to build the library first.
--cd utils/bbox
--sh make.sh
It will generate a nms.so and a bbox.so in current folder.
--change you own model_path , dir_path, save_path and save_path_json in inference.py
python inference.py
--change you own path in json_txt.py
python json_txt.py
follow icdar15 dataset format, x1,y1,x2,y2,x3,y3,x4,y4,label,(x1,y1) is left top,(x2,y2) is right top.
image |
---|
1.jpg
1.txt
-- Augmentation include color trans, Expand,
-- change you own model_path, dataset_path in train_v2.py
python train_v2.py