Skip to content

Commit

Permalink
Fixed a minor typo
Browse files Browse the repository at this point in the history
skybox_cernter_crop --> skybox_center_crop
  • Loading branch information
jiupinjia authored Nov 19, 2020
1 parent b0644d9 commit 89dc549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyboxengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def load_skybox(self):

self.skybox_img = cv2.resize(
skybox_img, (self.args.out_size_w, self.args.out_size_h))
cc = 1. / self.args.skybox_cernter_crop
cc = 1. / self.args.skybox_center_crop
imgtile = cv2.resize(
skybox_img, (int(cc * self.args.out_size_w),
int(cc*self.args.out_size_h)))
Expand All @@ -53,7 +53,7 @@ def load_skybox(self):
# video backgroud
cap = cv2.VideoCapture(os.path.join(r'./skybox', self.args.skybox))
m_frames = int(cap.get(cv2.CAP_PROP_FRAME_COUNT))
cc = 1. / self.args.skybox_cernter_crop
cc = 1. / self.args.skybox_center_crop
self.skybox_imgx2 = np.zeros(
[m_frames, int(cc*self.args.out_size_h),
int(cc*self.args.out_size_w), 3], np.uint8)
Expand Down

0 comments on commit 89dc549

Please sign in to comment.