mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 08:13:04 +04:00
fixed sha1 issues with East model
This commit is contained in:
@@ -94,10 +94,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
// Parsing command-line arguments
|
||||
|
||||
String sha1 = parser.get<String>("download_sha");
|
||||
if (sha1.empty()){
|
||||
sha1 = parser.get<String>("sha1");
|
||||
}
|
||||
String sha1 = parser.get<String>("sha1");
|
||||
String ocr_sha1 = parser.get<String>("ocr_sha1");
|
||||
String detModelPath = findModel(parser.get<String>("model"), sha1);
|
||||
String ocr = findModel(parser.get<String>("ocr_model"), ocr_sha1);
|
||||
|
||||
Reference in New Issue
Block a user