Fixed an issue of the image not rendering in DeepEncode.py

This commit is contained in:
Jordon Brooks 2023-08-17 23:41:23 +01:00
parent d3f1ac1e0d
commit b95e3558ff

View file

@ -50,6 +50,7 @@ def predict_frame(uncompressed_frame):
compressed_frame = np.clip(compressed_frame * 255.0, 0, 255).astype(np.uint8)
cv2.imshow("comp", compressed_frame)
cv2.waitKey(1)
return compressed_frame