Clean up project directory.
This commit is contained in:
@@ -30,7 +30,7 @@ class SimpleHandRecogniser(HandRecogniser):
|
||||
|
||||
# Apply another blur to rmeove any small holes/noise
|
||||
self.img_cut = self.__denoise(self.img_cut)
|
||||
ret, self.img_cut = cv2.threshold(self.img_cut, 50, 255, cv2.THRESH_BINARY)
|
||||
_, self.img_cut = cv2.threshold(self.img_cut, 50, 255, cv2.THRESH_BINARY)
|
||||
|
||||
def __denoise(self, image):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user