Update app.py
Browse files
app.py
CHANGED
@@ -391,7 +391,7 @@ def blur_image(image, depth, blur_data):
|
|
391 |
blur_hi = np.array([i+1,i+1,i+1])
|
392 |
blur_mask = cv2.inRange(depth, blur_lo, blur_hi)
|
393 |
|
394 |
-
print(f'kernel size {int(blur_a[j])}')
|
395 |
blur = cv2.GaussianBlur(image, (int(blur_a[j]), int(blur_a[j])), 0)
|
396 |
|
397 |
blur_frame[blur_mask>0] = blur[blur_mask>0]
|
|
|
391 |
blur_hi = np.array([i+1,i+1,i+1])
|
392 |
blur_mask = cv2.inRange(depth, blur_lo, blur_hi)
|
393 |
|
394 |
+
#print(f'kernel size {int(blur_a[j])}')
|
395 |
blur = cv2.GaussianBlur(image, (int(blur_a[j]), int(blur_a[j])), 0)
|
396 |
|
397 |
blur_frame[blur_mask>0] = blur[blur_mask>0]
|