Commit 2cdce6c2 authored by Fabien's avatar Fabien

Die show in character kon weg

parent e2507c65
...@@ -6,12 +6,6 @@ class Character: ...@@ -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)
......
...@@ -31,5 +31,4 @@ from LicensePlate import LicensePlate ...@@ -31,5 +31,4 @@ from LicensePlate import LicensePlate
plate = LicensePlate("../XML/0000/00991_000000.info") # some xml file from rein plate = LicensePlate("../XML/0000/00991_000000.info") # some xml file from rein
print plate.characters[0].value plate.characters[0].image.show()
#plate.characters[0].show() \ No newline at end of file
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment