Esempio n. 1
0
 def video_discoverer(cls) -> SequenceDiscoverer:
     """this method will return a video discoverer"""
     video_finder = SequenceDiscoverer()
     video_finder.name = "Metadata-Video"
     video_finder.visual_data = VideoDiscoverer()
     video_finder.validator = SequenceMetadataValidator()
     return video_finder
Esempio n. 2
0
 def photo_metadata_discoverer(cls) -> SequenceDiscoverer:
     """This method will return a photo discoverer"""
     photo_metadata_finder = SequenceDiscoverer()
     photo_metadata_finder.name = "Metadata-Photo"
     photo_metadata_finder.visual_data = PhotoMetadataDiscoverer()
     photo_metadata_finder.validator = SequenceMetadataValidator()
     return photo_metadata_finder