class FrameFormatter(abc.ABC):
@abc.abstractmethod
def prepare_pack_data(self):
return NotImplemented
@abc.abstractmethod
def pack_label_and_content(self):
return NotImplemented
@abc.abstractmethod
def store_pack_result(self):
return NotImplemented
@abc.abstractmethod
def generate_report(self):
return NotImplemented
@property
@abc.abstractmethod
def with_ann_image_count(self):
return NotImplemented
@property
@abc.abstractmethod
def annotation_count(self):
return NotImplemented
@property
@abc.abstractmethod
def report_id(self):
return NotImplemented
def before_prepare_pack_data(self):
pass
def after_prepare_pack_data(self):
pass