Commit d4fd7c6d authored by Taddeus Kroes's avatar Taddeus Kroes

Removed comment tags.

parent b9bc273e
...@@ -3,23 +3,23 @@ from LicensePlate import LicensePlate ...@@ -3,23 +3,23 @@ from LicensePlate import LicensePlate
from Classifier import Classifier from Classifier import Classifier
from cPickle import dump, load from cPickle import dump, load
#chars = [] chars = []
#
#for i in range(9): for i in range(9):
# for j in range(100): for j in range(100):
# try: try:
# filename = '%04d/00991_%04d%02d.info' % (i, i, j) filename = '%04d/00991_%04d%02d.info' % (i, i, j)
# print 'loading file "%s"' % filename print 'loading file "%s"' % filename
# plate = LicensePlate(i, j) plate = LicensePlate(i, j)
#
# if hasattr(plate, 'characters'): if hasattr(plate, 'characters'):
# chars.extend(plate.characters) chars.extend(plate.characters)
# except: except:
# print 'epic fail' print 'epic fail'
#
#print 'loaded %d chars' % len(chars) print 'loaded %d chars' % len(chars)
#
#dump(chars, file('chars', 'w+')) dump(chars, file('chars', 'w+'))
#---------------------------------------------------------------- #----------------------------------------------------------------
chars = load(file('chars', 'r'))[:500] chars = load(file('chars', 'r'))[:500]
learned = [] learned = []
......
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