Improved model
This commit is contained in:
parent
9167ff27d4
commit
60c6c97071
8 changed files with 327 additions and 112 deletions
|
@ -41,8 +41,7 @@ def predict_frame(uncompressed_frame, model, crf_value, preset_speed_value):
|
|||
#cv2.waitKey(10)
|
||||
|
||||
compressed_frame = model.predict({
|
||||
"uncompressed_frame": uncompressed_frame,
|
||||
"compressed_frame": uncompressed_frame,
|
||||
"compressed_frame": uncompressed_frame,
|
||||
"crf": crf_array,
|
||||
"preset_speed": preset_speed_array
|
||||
})
|
||||
|
|
Reference in a new issue