changes
This commit is contained in:
parent
447ca53d54
commit
9f0a6b747f
@ -242,7 +242,7 @@ def calc_histogram_difference(source_vision_frame : VisionFrame, target_vision_f
|
|||||||
|
|
||||||
|
|
||||||
def blend_vision_frames(source_vision_frame : VisionFrame, target_vision_frame : VisionFrame, factor : float) -> VisionFrame:
|
def blend_vision_frames(source_vision_frame : VisionFrame, target_vision_frame : VisionFrame, factor : float) -> VisionFrame:
|
||||||
blend_vision_frame = cv2.addWeighted(target_vision_frame, 1 - factor, source_vision_frame, factor, 0)
|
blend_vision_frame = cv2.addWeighted(source_vision_frame, 1 - factor, target_vision_frame, factor, 0)
|
||||||
return blend_vision_frame
|
return blend_vision_frame
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user