Clean up project directory.

This commit is contained in:
Piv
2020-02-21 20:59:04 +10:30
parent 178d2b8d57
commit 0ba967c997
10 changed files with 29 additions and 248 deletions

View File

@@ -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):
"""