MCPcopy Create free account
hub / github.com/buaacxf/VIPTR / blur

Function blur

dataload/dataAug.py:81–89  ·  view source on GitHub ↗

blur

(img)

Source from the content-addressed store, hash-verified

79
80
81def blur(img):
82 """
83 blur
84 """
85 h, w, _ = img.shape
86 if h > 10 and w > 10:
87 return cv2.GaussianBlur(img, (5, 5), 1)
88 else:
89 return img
90
91
92def jitter(img):

Callers 1

warpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected