29f827ab28be71a852334a93eff42dc45aee6646,pliers/extractors/microsoft.py,MicrosoftAPIFaceExtractor,_extract,#MicrosoftAPIFaceExtractor#Any#,25

Before Change


        with stim.get_filename() as filename:
            result = CF.face.detect(filename)

        return ExtractorResult([[len(result)]], stim, self, features=["num_faces"])

After Change


        with stim.get_filename() as filename:
            result = CF.face.detect(filename)

        return ExtractorResult(result, stim, self, raw=result)

    def to_df(self, result):
        n_faces = len(result.raw)
        cols = ["faceId", "faceRectangleTop", "faceRectangleLeft",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tyarkoni/pliers
Commit Name: 29f827ab28be71a852334a93eff42dc45aee6646
Time: 2018-01-09
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/microsoft.py
Class Name: MicrosoftAPIFaceExtractor
Method Name: _extract


Project Name: tyarkoni/pliers
Commit Name: 0cdbd836f44e9351e769b2504d82680af838927f
Time: 2020-01-19
Author: rbrrcc@gmail.com
File Name: pliers/extractors/text.py
Class Name: WordCounterExtractor
Method Name: _extract


Project Name: tyarkoni/pliers
Commit Name: 0a37dea8cd7bc8d533ee971cb6fc5ec59537f4b7
Time: 2017-10-22
Author: quinten.mcnamara@gmail.com
File Name: pliers/extractors/text.py
Class Name: PartOfSpeechExtractor
Method Name: _extract