diff --git a/mmhuman3d/data/data_structures/smc_reader.py b/mmhuman3d/data/data_structures/smc_reader.py index 121e3810..537d06d5 100644 --- a/mmhuman3d/data/data_structures/smc_reader.py +++ b/mmhuman3d/data/data_structures/smc_reader.py @@ -504,7 +504,7 @@ def get_iphone_color(self, frame = self.__read_color_from_bytes__( self.smc['iPhone'][str(iphone_id)]['Color'][str(i)][()]) if vertical: - frame = cv2.rotate(frame, cv2.cv2.ROTATE_90_CLOCKWISE) + frame = cv2.rotate(frame, cv2.ROTATE_90_CLOCKWISE) frames.append(frame) return np.stack(frames, axis=0) @@ -549,7 +549,7 @@ def get_iphone_depth(self, for i in tqdm.tqdm(frame_list, disable=disable_tqdm): frame = self.smc['iPhone'][str(iphone_id)]['Depth'][str(i)][()] if vertical: - frame = cv2.rotate(frame, cv2.cv2.ROTATE_90_CLOCKWISE) + frame = cv2.rotate(frame, cv2.ROTATE_90_CLOCKWISE) frames.append(frame) return np.stack(frames, axis=0)