Skip to content

Commit fbf7626

Browse files
committed
test data for scene text detection and recognition API
1 parent 65796ed commit fbf7626

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

testdata/dnn/download_models.py

+15
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,21 @@ def get_confirm_token(response): # in case of large files
853853
url='https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights',
854854
sha='d110379b7b86899226b591ad4affc7115f707157',
855855
filename='yolov4-tiny.weights'),
856+
Model(
857+
name='crnn',
858+
url='https://drive.google.com/uc?export=dowload&id=1ooaLR-rkTl8jdpGy1DoQs0-X0lQsB6Fj',
859+
sha='270d92c9ccb670ada2459a25977e8deeaf8380d3',
860+
filename='onnx/models/crnn.onnx'),
861+
Model(
862+
name='DB_IC15_resnet50',
863+
url='https://drive.google.com/uc?export=dowload&id=1cmAs91yFRyC2LC3nTTBNNYooyEmb0i5t',
864+
sha='da39a3ee5e6b4b0d3255bfef95601890afd80709',
865+
filename='onnx/models/DB_IC15_resnet50.onnx'),
866+
Model(
867+
name='DB_TD500_resnet50',
868+
url='https://drive.google.com/uc?export=dowload&id=1_9KB6QkIghp2VNZti_dJ3Araz-nDZBsL',
869+
sha='6d3b7b84fc23906be7d583a8cedef727cc351fad',
870+
filename='onnx/models/DB_TD500_resnet50.onnx'),
856871
]
857872

858873
# Note: models will be downloaded to current working directory

testdata/dnn/text_det_test.png

183 KB
Loading

testdata/dnn/text_rec_test.png

2.84 KB
Loading

0 commit comments

Comments
 (0)