medusa.detect.base#

Module Contents#

class medusa.detect.base.BaseDetector(*args, **kwargs)[source]#

Base class for face detection models.

detect_faces_video(vid, batch_size=32)[source]#

Utility function to get all detections in a video.

Parameters:

vid (str, Path) – Path to video (or, optionally, a VideoLoader object)

Returns:

results – A BatchResults object with all detection information

Return type:

BatchResults