Commented out cv2 testing

This commit is contained in:
Jordon Brooks 2023-07-26 00:11:37 +01:00
parent b97293d7ca
commit f390b585f9

View file

@ -33,9 +33,9 @@ def predict_in_chunks(uncompressed_frames, model, crf_values, preset_speed_value
num_sequences = len(uncompressed_frames) - NUM_FRAMES + 1 num_sequences = len(uncompressed_frames) - NUM_FRAMES + 1
compressed_frames = [] compressed_frames = []
for frame in uncompressed_frames: #for frame in uncompressed_frames:
cv2.imshow("frame", frame) # cv2.imshow("frame", frame)
cv2.waitKey(50) # cv2.waitKey(50)
for start in range(0, num_sequences, CHUNK_SIZE): for start in range(0, num_sequences, CHUNK_SIZE):
end = min(start + CHUNK_SIZE, num_sequences) end = min(start + CHUNK_SIZE, num_sequences)