Skip to content

Commit

Permalink
Merge pull request #21 from taekjinsong/patch-5
Browse files Browse the repository at this point in the history
Update settings.py
  • Loading branch information
Uehwan authored May 24, 2019
2 parents 41115b3 + 03d5ebb commit d42d238
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions model/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ def load_image(self,frame_idx):
# Preprocess loaded camera parameter and depth info
depth_pix = depth_img.load()
pix_depth = []
for ii in range(depth_img.size[0]):
for ii in range(depth_img.size[1]):
pix_row = []
for jj in range(depth_img.size[1]):
pix_row.append(depth_pix[ii, jj])
for jj in range(depth_img.size[0]):
pix_row.append(depth_pix[jj, ii])
pix_depth.append(pix_row)

camera_pose = [item.split() for item in camera_pose.split('\n')[:-1]]
Expand Down

0 comments on commit d42d238

Please sign in to comment.