formatting

This commit is contained in:
Matthias Bisping 2022-04-11 13:38:09 +02:00
parent 3530ef72c5
commit 04cf0245ed

View File

@ -10,7 +10,8 @@ class ExtractorClassifier:
"""This class is responsible for orchestrating the pairing of classifications and image metadata. It extracts images
from an object and classifies them. Then it ties the classification together with the metadata. It returns an
iterable of dictionaries, where each dictionary has a field 'label' for the classification and possibly additional
fields for metadata -- metadata could be void."""
fields for metadata -- metadata could be void.
"""
def __init__(self, image_extractor: ImageExtractor, image_classifier: ImageClassifier):
self.classifier = image_classifier