|
@@ -6,12 +6,6 @@ class Character:
|
|
|
self.corners = corners
|
|
self.corners = corners
|
|
|
self.image = image
|
|
self.image = image
|
|
|
|
|
|
|
|
- # Testing purposes
|
|
|
|
|
- def show(self):
|
|
|
|
|
- from pylab import imshow, show
|
|
|
|
|
- imshow(self.data, cmap="gray")
|
|
|
|
|
- show()
|
|
|
|
|
-
|
|
|
|
|
def get_feature_vector(self):
|
|
def get_feature_vector(self):
|
|
|
pattern = LocalBinaryPatternizer(self.image)
|
|
pattern = LocalBinaryPatternizer(self.image)
|
|
|
|
|
|