Skip to content

Commit 8a98e11

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

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed

testdata/dnn/download_models.py

+25
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,31 @@ 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='GSOC2016-GOTURN', # https://github.com/opencv/opencv_contrib/issues/941
858+
downloader=GDrive('1j4UTqVE4EGaUFiK7a5I_CYX7twO9c5br'),
859+
sha='49776d262993c387542f84d9cd16566840404f26',
860+
filename='gsoc2016-goturn/goturn.caffemodel'),
861+
Model(
862+
name='crnn',
863+
url='https://drive.google.com/uc?export=dowload&id=1ooaLR-rkTl8jdpGy1DoQs0-X0lQsB6Fj',
864+
sha='270d92c9ccb670ada2459a25977e8deeaf8380d3',
865+
filename='onnx/models/crnn.onnx'),
866+
Model(
867+
name='crnn_cs',
868+
url='https://drive.google.com/uc?export=dowload&id=12diBsVJrS9ZEl6BNUiRp9s0xPALBS7kt',
869+
sha='a641e9c57a5147546f7a2dbea4fd322b47197cd5',
870+
filename='onnx/models/crnn_cs.onnx'),
871+
Model(
872+
name='DB_IC15_resnet50',
873+
url='https://drive.google.com/uc?export=dowload&id=1cmAs91yFRyC2LC3nTTBNNYooyEmb0i5t',
874+
sha='9a562c2a8fa3d95fbecd2d45690fb4f787fd496a',
875+
filename='onnx/models/DB_IC15_resnet50.onnx'),
876+
Model(
877+
name='DB_TD500_resnet50',
878+
url='https://drive.google.com/uc?export=dowload&id=1_9KB6QkIghp2VNZti_dJ3Araz-nDZBsL',
879+
sha='6d3b7b84fc23906be7d583a8cedef727cc351fad',
880+
filename='onnx/models/DB_TD500_resnet50.onnx'),
856881
]
857882

858883
# 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)