mirror of https://github.com/open-mmlab/mmocr.git
correct word spelling (#1659)
parent
a4fe6bb67f
commit
1496f1fa07
|
@ -361,7 +361,7 @@ class MMOCR:
|
||||||
# Check if the det/recog model choice is valid
|
# Check if the det/recog model choice is valid
|
||||||
if self.td and self.td not in textdet_models:
|
if self.td and self.td not in textdet_models:
|
||||||
raise ValueError(self.td,
|
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:
|
elif self.tr and self.tr not in textrecog_models:
|
||||||
raise ValueError(self.tr,
|
raise ValueError(self.tr,
|
||||||
'is not a supported text recognition algorithm')
|
'is not a supported text recognition algorithm')
|
||||||
|
|
Loading…
Reference in New Issue