This commit is contained in:
Colombo 2020-02-22 13:45:00 +04:00
parent 75a1adc7c4
commit 0a40d8e5da

View file

@ -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):