e5e5ee0c3f7f7438a2519d32458fa72ea7af98e4,featurex/extractors/google.py,GoogleVisionAPIExtractor,_extract,#GoogleVisionAPIExtractor#Any#,10
Before Change
annotations = response[self.response_object]
values = self._parse_annotations(stim[i], annotations)
onset = stim[i].onset if hasattr(stim[i], "onset") else i
ev = Event(onset=onset, duration=stim[i].duration, values=values)
events.append(ev)
else:
events.append(Event())
After Change
if response:
annotations = response[self.response_object]
feat, values = self._parse_annotations(annotations)
features += feat
data += values
data = [data]
onsets = [stim[i].onset if hasattr(stim[i], "onset") else i for i in range(len(responses))]
durations = [stim[i].duration for i in range(len(responses))]
return ExtractorResult(data, stim, self, features=features,
onsets=onsets, durations=durations)
class GoogleVisionAPIFaceExtractor(GoogleVisionAPIExtractor):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: tyarkoni/pliers
Commit Name: e5e5ee0c3f7f7438a2519d32458fa72ea7af98e4
Time: 2016-10-23
Author: quinten.mcnamara@gmail.com
File Name: featurex/extractors/google.py
Class Name: GoogleVisionAPIExtractor
Method Name: _extract
Project Name: tyarkoni/pliers
Commit Name: 4a1b3db27268b3a928a9f423651ecc9e5ff51196
Time: 2016-10-23
Author: quinten.mcnamara@gmail.com
File Name: featurex/extractors/audio.py
Class Name: MeanAmplitudeExtractor
Method Name: _extract
Project Name: tyarkoni/pliers
Commit Name: c19000b012bba5fa7ae54fadc953f5b679dead4f
Time: 2016-10-20
Author: quinten.mcnamara@gmail.com
File Name: featurex/extractors/video.py
Class Name: DenseOpticalFlowExtractor
Method Name: _extract