diff --git a/deploy/hubserving/ocr_cls/module.py b/deploy/hubserving/ocr_cls/module.py index de815c458f740d687ed157cd6a7dff590edcc33e..222bcc4026bbe902685eed1c4ee2d6fa04db60f8 100644 --- a/deploy/hubserving/ocr_cls/module.py +++ b/deploy/hubserving/ocr_cls/module.py @@ -7,7 +7,7 @@ import os import sys sys.path.insert(0, ".") import copy - +import paddlehub from paddlehub.common.logger import logger from paddlehub.module.module import moduleinfo, runnable, serving import cv2 diff --git a/deploy/hubserving/ocr_det/module.py b/deploy/hubserving/ocr_det/module.py index d1a88df2b221e633f65f56bd1510fe675783275e..4cb24f39d7c64ddecad2c9d700d27947cc03bad3 100644 --- a/deploy/hubserving/ocr_det/module.py +++ b/deploy/hubserving/ocr_det/module.py @@ -8,7 +8,7 @@ import sys sys.path.insert(0, ".") import copy - +import paddlehub from paddlehub.common.logger import logger from paddlehub.module.module import moduleinfo, runnable, serving import cv2 diff --git a/deploy/hubserving/ocr_rec/module.py b/deploy/hubserving/ocr_rec/module.py index 582396cf89c22c8c0fbfc6ea82589fb87ef73391..30ca9b25ecb6f4df76512f01367179dd1455e4db 100644 --- a/deploy/hubserving/ocr_rec/module.py +++ b/deploy/hubserving/ocr_rec/module.py @@ -7,7 +7,7 @@ import os import sys sys.path.insert(0, ".") import copy - +import paddlehub from paddlehub.common.logger import logger from paddlehub.module.module import moduleinfo, runnable, serving import cv2 diff --git a/deploy/hubserving/ocr_system/module.py b/deploy/hubserving/ocr_system/module.py index 039ca179e2d20dc641e7cae9e2c753c72c31682a..843b2e2c76e37ac107a635c7a7652907feafce60 100644 --- a/deploy/hubserving/ocr_system/module.py +++ b/deploy/hubserving/ocr_system/module.py @@ -9,7 +9,7 @@ sys.path.insert(0, ".") import copy import time - +import paddlehub from paddlehub.common.logger import logger from paddlehub.module.module import moduleinfo, runnable, serving import cv2