Awasome OCR
huggingface-cli login
>>> huggingface-cli upload maze/awasome-ocr ./models/model.safetensors model.safetensors
DeepSolo
python demo/demo.py --input /root/sample.jpg --output /root/output.jpg --config-file configs/R_50/TotalText/finetune_150k_tt_mlt_13_15_textocr.yaml --opts MODEL.WEIGHTS tt_res50_finetune_synth-tt-mlt-13-15-textocr.pth
python demo/demo.py --input /root/sample.jpg --output /root/output.jpg --config-file configs/R_50/ReCTS/finetune.yaml --opts MODEL.WEIGHTS rects_res50_finetune.pth