@@ -48,7 +48,9 @@ class ChineseTextDetectionDB(hub.Module):
try:
importshapely,pyclipper
except:
raiseImportError('This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.')
raiseImportError(
'This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.'
@@ -48,7 +48,9 @@ class ChineseTextDetectionDBServer(hub.Module):
try:
importshapely,pyclipper
except:
raiseImportError('This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.')
raiseImportError(
'This module requires the shapely, pyclipper tools. The running environment does not meet the requirements. Please install the two packages.'