Loading modules/textdetector/__init__.py +1 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,7 @@ class StariverDetector(TextDetectorBase): def __init__(self, **params) -> None: self.url = 'https://dl.ap-sh.starivercs.cn/v2/manga_trans/advanced/manga_ocr' self.name = 'StariverDetector' def detect(self, img: np.ndarray) -> Tuple[np.ndarray, List[TextBlock]]: if not self.token or self.token == 'Replace with your token': Loading Loading
modules/textdetector/__init__.py +1 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,7 @@ class StariverDetector(TextDetectorBase): def __init__(self, **params) -> None: self.url = 'https://dl.ap-sh.starivercs.cn/v2/manga_trans/advanced/manga_ocr' self.name = 'StariverDetector' def detect(self, img: np.ndarray) -> Tuple[np.ndarray, List[TextBlock]]: if not self.token or self.token == 'Replace with your token': Loading