Commented out cv2 testing
This commit is contained in:
parent
b97293d7ca
commit
f390b585f9
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Reference in a new issue