Skip to content

Commit 54b78fa

Browse files
committed
test data for scene text detection and recognition APIs
1 parent 65796ed commit 54b78fa

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

testdata/dnn/download_models.py

Lines changed: 15 additions & 0 deletions
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='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='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_test1.png

37.7 KB
Loading

testdata/dnn/text_det_test2.jpg

38.7 KB
Loading

testdata/dnn/text_rec_test.png

2.84 KB
Loading

0 commit comments

Comments
 (0)