MCPcopy Index your code
hub / github.com/geekcomputers/Python / blur_bg

Function blur_bg

Street_Fighter/src/main.py:104–107  ·  view source on GitHub ↗
(image)

Source from the content-addressed store, hash-verified

102
103
104def blur_bg(image):
105 image_bgr = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
106 blurred_image = cv2.GaussianBlur(image_bgr, (15, 15), 0)
107 return cv2.cvtColor(blurred_image, cv2.COLOR_BGR2RGB)
108
109
110def draw_bg(image, is_game_started=False):

Callers 1

draw_bgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected