From 0a40d8e5da42ad2105d9d58468296f4a0f05df86 Mon Sep 17 00:00:00 2001 From: Colombo Date: Sat, 22 Feb 2020 13:45:00 +0400 Subject: [PATCH] _ --- samplelib/Sample.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samplelib/Sample.py b/samplelib/Sample.py index 58c92d5..80910d5 100644 --- a/samplelib/Sample.py +++ b/samplelib/Sample.py @@ -61,7 +61,7 @@ class Sample(object): def get_pitch_yaw_roll(self): if self.pitch_yaw_roll is None: - self.pitch_yaw_roll = LandmarksProcessor.estimate_pitch_yaw_roll(landmarks) + self.pitch_yaw_roll = LandmarksProcessor.estimate_pitch_yaw_roll(landmarks, size=self.shape[1]) return self.pitch_yaw_roll def set_filename_offset_size(self, filename, offset, size):