Skip to content
Snippets Groups Projects
Commit ae48c0ec authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Renamed all test files to prefix 'test_'.

parent 8555e7c7
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python
from pylab import subplot, show, imshow, axis
from cPickle import load
chars = filter(lambda c: c.value == 'A', load(file('chars', 'r')))
for i in range(10):
for j in range(3):
index = j * 10 + i
subplot(10, 3, index + 1)
axis('off')
imshow(chars[index].image.data, cmap='gray')
show()
File moved
#!/usr/bin/python
from GrayscaleImage import GrayscaleImage
from NormalizedCharacterImage import NormalizedCharacterImage
......
#!/usr/bin/python
from GaussianFilter import GaussianFilter
from GrayscaleImage import GrayscaleImage
......
#!/usr/bin/python
from Histogram import Histogram
his = Histogram(10, 10, 110)
......@@ -22,4 +23,4 @@ his.add(99)
his.add(100)
his.add(109)
print his.bins
\ No newline at end of file
print his.bins
#!/usr/bin/python
from GrayscaleImage import GrayscaleImage
from LocalBinaryPatternizer import LocalBinaryPatternizer
......
#!/usr/bin/python
from LetterCropper import LetterCropper
from GrayscaleImage import GrayscaleImage
......@@ -7,4 +8,4 @@ cropper = LetterCropper(image)
cropped_letter = cropper.get_cropped_letter()
cropped_letter.show()
\ No newline at end of file
cropped_letter.show()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment