File size: 294 Bytes
9dce458
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import numpy as np

from .common import CommonDetector

class NoneDetector(CommonDetector):
    async def _detect(self, image: np.ndarray, detect_size: int, text_threshold: float, box_threshold: float, unclip_ratio: float, verbose: bool = False):
        return [], np.zeros(image.shape), None