imlab.core.detect

imlab.core.detect(image: object, model: Extractor, show: bool = False, save: str = '', score: int = 2) [((<class 'int'>, <class 'int'>, <class 'int'>, <class 'int'>), <class 'str'>)][source]

detect. detect entities from image

Parameters
  • image (object) – image to detect

  • model (Extractor) – model to be used

  • show (bool) – show the picture with bunding box

  • save (str) – save the picture

  • score (int) – show the score on picture

Return type

[((int, int, int, int), str)]