Skip to content

Commit

Permalink
test data for scene text detection and recognition API
Browse files Browse the repository at this point in the history
  • Loading branch information
HannibalAPE committed Sep 25, 2020
1 parent 65796ed commit fa07652
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions testdata/dnn/download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,31 @@ def get_confirm_token(response): # in case of large files
url='https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v4_pre/yolov4-tiny.weights',
sha='d110379b7b86899226b591ad4affc7115f707157',
filename='yolov4-tiny.weights'),
Model(
name='GSOC2016-GOTURN', # https://github.com/opencv/opencv_contrib/issues/941
downloader=GDrive('1j4UTqVE4EGaUFiK7a5I_CYX7twO9c5br'),
sha='49776d262993c387542f84d9cd16566840404f26',
filename='gsoc2016-goturn/goturn.caffemodel'),
Model(
name='crnn',
url='https://drive.google.com/uc?export=dowload&id=1ooaLR-rkTl8jdpGy1DoQs0-X0lQsB6Fj',
sha='270d92c9ccb670ada2459a25977e8deeaf8380d3',
filename='onnx/models/crnn.onnx'),
Model(
name='crnn_cs',
url='https://drive.google.com/uc?export=dowload&id=12diBsVJrS9ZEl6BNUiRp9s0xPALBS7kt',
sha='a641e9c57a5147546f7a2dbea4fd322b47197cd5',
filename='onnx/models/crnn_cs.onnx'),
Model(
name='EAST',
url='https://drive.google.com/uc?export=dowload&id=1CKRYaIsizt7V1pFmULdeKuKDMssC1XXt',
sha='fffabf5ac36f37bddf68e34e84b45f5c4247ed06',
filename='onnx/models/EAST.pb'),
Model(
name='DB_TD500_resnet50',
url='https://drive.google.com/uc?export=dowload&id=1_9KB6QkIghp2VNZti_dJ3Araz-nDZBsL',
sha='6d3b7b84fc23906be7d583a8cedef727cc351fad',
filename='onnx/models/DB_TD500_resnet50.onnx'),
]

# Note: models will be downloaded to current working directory
Expand Down
Binary file added testdata/dnn/text_det_test1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added testdata/dnn/text_det_test2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added testdata/dnn/text_rec_test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fa07652

Please sign in to comment.