28442837cd090b6d424659e5a434d93efef4dc97,scripts/convert.py,DiskIO,detect_faces,#DiskIO#Any#Any#,381

Before Change



    def detect_faces(self, filename, image):
         Extract the face from a frame (If alignments file not found) 
        inp = {"filename": filename,
               "image": image}
        self.extractor.input_queue.put(inp)
        faces = next(self.extractor.detected_faces())

        final_faces = [face for face in faces["detected_faces"]]

After Change



    def detect_faces(self, filename, image):
         Extract the face from a frame (If alignments file not found) 
        self.extractor.input_queue.put(ExtractMedia(filename, image))
        faces = next(self.extractor.detected_faces())

        final_faces = [face for face in faces.detected_faces]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: deepfakes/faceswap
Commit Name: 28442837cd090b6d424659e5a434d93efef4dc97
Time: 2019-12-02
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/convert.py
Class Name: DiskIO
Method Name: detect_faces


Project Name: deepfakes/faceswap
Commit Name: 8f5a7a653528fd887a6106e610964a01591ed09c
Time: 2019-11-29
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/sort.py
Class Name: Sort
Method Name: alignment_dict


Project Name: deepfakes/faceswap
Commit Name: 46309771bbddd202267030f42a6f067294f7a626
Time: 2019-11-28
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/extract.py
Class Name: Extract
Method Name: _load


Project Name: deepfakes/faceswap
Commit Name: edf4dfd07b44de03933ebd1b94adeab4749cec39
Time: 2019-12-02
Author: 36920800+torzdf@users.noreply.github.com
File Name: scripts/convert.py
Class Name: DiskIO
Method Name: detect_faces


Project Name: deepfakes/faceswap
Commit Name: 4fdeb67fba6cfb2193f8ab37a654de434b56baa0
Time: 2019-11-29
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/lib_alignments/jobs_manual.py
Class Name: MouseHandler
Method Name: update_landmarks