made "interface" abstract

This commit is contained in:
Askill 2020-12-19 16:34:15 +01:00
parent b18dfaf891
commit 54f3a41ebc
1 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,8 @@
from abc import ABC, abstractmethod
class ClassifierInterface:
class ClassifierInterface(ABC):
@abstractmethod
def tagLayer(self, layers):
"""takes layers, returns list (len(), same as input) of lists with tags for corresponfing layers"""
pass
"""takes filled contours of one frame, returns list (len(), same as input)
of lists with tags for corresponfing contours"""
pass