                  convert_item = self.alignments_faces(filename, frame)
  
              if not convert_item:
                  continue
              image, detected_faces = convert_item
  
              faces_count = len(detected_faces)
              if faces_count != 0:
                  # Post processing requires a dict with "detected_faces" key
                  self.post_process.do_actions(
 
</s> remove             if not convert_item:
 </s> add             if not detected_faces: </s> remove                 convert_item = self.alignments_faces(filename, frame)
 </s> add                 detected_faces = self.alignments_faces(frame, image) </s> remove                 convert_item = self.detect_faces(filename)
 </s> add                 detected_faces = self.detect_faces(filename, image) </s> remove     def detect_faces(self, filename):
 </s> add     @staticmethod
    def detect_faces(filename, image): </s> remove         return image, detected_faces
 </s> add         return detected_faces
                  convert_item = self.alignments_faces(filename, frame)
  
              if not convert_item:
                  continue

  
              faces_count = len(detected_faces)
              if faces_count != 0:
                  # Post processing requires a dict with "detected_faces" key
                  self.post_process.do_actions(
keep keep keep keep replace keep keep keep keep keep
 Add ability to extract from and convert from a video file (#559)

* Add ability to extract from and convert from a video file

* Update cli helptext. Add filebrowser button for GUI input

* Add video support to Alignments Tool 
scripts/convert.py