Video-Summary/Application/Classifiers/ClassifierInterface.py

9 lines
275 B
Python
Raw Normal View History

2020-12-19 15:34:15 +00:00
from abc import ABC, abstractmethod
2020-10-23 22:14:43 +00:00
2020-12-19 15:34:15 +00:00
class ClassifierInterface(ABC):
@abstractmethod
2020-11-01 16:43:05 +00:00
def tagLayer(self, layers):
2020-12-19 15:34:15 +00:00
"""takes filled contours of one frame, returns list (len(), same as input)
of lists with tags for corresponfing contours"""
pass