video699.page.ensemble¶
This module implements an ensemble page detector that lets other page detectors vote.
Module Contents¶
-
class
video699.page.ensemble.EnsemblePageDetector(ensemble, quorum=0.0)¶ Bases:
video699.interface.PageDetectorABCA page detector that uses a voting ensemble of page detectors.
Parameters: - ensemble (dict of (PageDetectorABC, float)) – The page detectors in the ensemble and their weights.
- quorum (float, optional) – Minimum vote necessary to detect a page. Default is 0.
-
detect(self, frame, appeared_screens, existing_screens, disappeared_screens)¶