made "interface" abstract
This commit is contained in:
parent
b18dfaf891
commit
54f3a41ebc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue