correct word spelling (#1659)

pull/1846/head
Qslia 2023-03-08 12:37:57 +08:00 committed by GitHub
parent a4fe6bb67f
commit 1496f1fa07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ class MMOCR:
# Check if the det/recog model choice is valid
if self.td and self.td not in textdet_models:
raise ValueError(self.td,
'is not a supported text detection algorthm')
'is not a supported text detection algorithm')
elif self.tr and self.tr not in textrecog_models:
raise ValueError(self.tr,
'is not a supported text recognition algorithm')