Spawn a new reCognizer Detector Instance Args: optimize_click_order (bool, optional): Whether to optimize the click order with the Travelling Salesman Problem. Defaults to True.
(self, optimize_click_order: Optional[bool] = True)
| 322 | # fmt: on |
| 323 | |
| 324 | def __init__(self, optimize_click_order: Optional[bool] = True) -> None: |
| 325 | """ |
| 326 | Spawn a new reCognizer Detector Instance |
| 327 | |
| 328 | Args: |
| 329 | optimize_click_order (bool, optional): Whether to optimize the click order with the Travelling Salesman Problem. Defaults to True. |
| 330 | """ |
| 331 | self.optimize_click_order = optimize_click_order |
| 332 | |
| 333 | self.detection_models: DetectionModels = detection_models |
| 334 | self.yolo_detector = YoloDetector() |
| 335 | self.clip_detector = ClipDetector() |
| 336 | |
| 337 | def detect( |
| 338 | self, |
nothing calls this directly
no test coverage detected