Basics

The following objects are necessary to switch from detection mode (no mask) to instance segmentation.

detectools.set_lib_mode(mode: Literal['detection', 'instance_segmentation'])[source]

Set global mode for library.

Parameters:

mode (Literal['detection', 'instance_segmentation']) – Mode for library.

class detectools.Task[source]

Task define the mode of the library to use. If ‘detection’ masks will not be take, if ‘instance segmentation’ masks will be handle.

Attributes

mode

Literal[‘detection’, ‘instance segmentation]

Methods