remove prints

This commit is contained in:
Wlad 2021-02-19 00:20:55 +01:00
parent 3b6317e012
commit 787fd9e763
2 changed files with 1 additions and 3 deletions

View File

@ -9,7 +9,7 @@ from renderer import *
from utils.general import rename_files, get_new_filename
START_IDX = 1 # starting index of the frame to optimize for
FINISH_IDX = 10 # choose a big number to optimize for all frames in samples directory
FINISH_IDX = None # choose a big number to optimize for all frames in samples directory
result_image = []
idx = START_IDX

View File

@ -102,13 +102,11 @@ def save_to_video(
# account for possible interpolation
frame_idx = int(idx / inter_ratio)
overlay = cv2.imread(dataset.get_image_path(frame_idx))
print("shape 1:", overlay.shape)
overlay = cv2.resize(
overlay,
dsize=(
int(overlay.shape[1] * 0.25), int(overlay.shape[0] * 0.25)
))
print("shape 2:", overlay.shape)
img[0:overlay.shape[0], 0:overlay.shape[1]] = overlay
return img