use quality value and faster resize

This commit is contained in:
Blake Blackshear
2021-06-10 08:05:06 -05:00
parent 61f717daa3
commit 17179abf5a
2 changed files with 9 additions and 9 deletions

View File

@@ -277,7 +277,7 @@ def copy_yuv_to_position(
# clear v2
destination_frame[v2[1] : v2[3], v2[0] : v2[2]] = 128
else:
interpolation = cv2.INTER_AREA
interpolation = cv2.INTER_LINEAR
# resize/copy y channel
destination_frame[y[1] : y[3], y[0] : y[2]] = cv2.resize(
source_frame[