b1cfbe458c0bf123591348c54973d49297fd55ab,tools/alignments/jobs.py,Extract,_output_faces,#Extract#Any#Any#,525

Before Change


            if self._arguments.large:
                self._frames.save_image(self._faces_dir, output, face.aligned.face)
            else:
                output = os.path.join(self._faces_dir, output)
                f_hash = self._extracted_faces.save_face_with_hash(output,
                                                                   extension,
                                                                   face.aligned.face)
                if self._is_legacy:  // Generate the new thumbnail and store new face data for save
                    face.thumbnail = generate_thumbnail(face.aligned.face, size=96, quality=60)
                    self._alignments.data[filename]["faces"][idx] = face.to_alignment()
                self._alignments.data[filename]["faces"][idx]["hash"] = f_hash

After Change


                face.thumbnail = generate_thumbnail(face.aligned.face, size=96, quality=60)
                self._alignments.data[filename]["faces"][idx] = face.to_alignment()
            face_count += 1
        self._saver.close()
        return face_count

    def _select_valid_faces(self, frame, image):
         Return the aligned faces from a frame that meet the selection criteria,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deepfakes/faceswap
Commit Name: b1cfbe458c0bf123591348c54973d49297fd55ab
Time: 2021-02-14
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/alignments/jobs.py
Class Name: Extract
Method Name: _output_faces


Project Name: jaakkopasanen/AutoEq
Commit Name: b86a9eaed744cc9904948e0616512c4a705d2728
Time: 2020-03-15
Author: jaakko.o.pasanen@gmail.com
File Name: measurements/referenceaudioanalyzer/reference_audio_analyzer_crawler.py
Class Name: ReferenceAudioAnalyzerCrawler
Method Name: process


Project Name: pytorch/tutorials
Commit Name: 00e131977b4e2cbe134f8832f3fbac7940644586
Time: 2018-08-29
Author: minkawhich@fb.com
File Name: beginner_source/hybrid_frontend/introduction_to_hybrid_frontend_tutorial.py
Class Name:
Method Name: