Fixed an issue of the image not rendering in DeepEncode.py
This commit is contained in:
parent
d3f1ac1e0d
commit
b95e3558ff
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ def predict_frame(uncompressed_frame):
|
||||||
compressed_frame = np.clip(compressed_frame * 255.0, 0, 255).astype(np.uint8)
|
compressed_frame = np.clip(compressed_frame * 255.0, 0, 255).astype(np.uint8)
|
||||||
|
|
||||||
cv2.imshow("comp", compressed_frame)
|
cv2.imshow("comp", compressed_frame)
|
||||||
|
cv2.waitKey(1)
|
||||||
|
|
||||||
return compressed_frame
|
return compressed_frame
|
||||||
|
|
||||||
|
|
Reference in a new issue