Commit d3e13b6f authored by Fabien's avatar Fabien

ugh rare printjes weggehaald

parent 9ba40ec1
from xml_helper_functions import xml_to_LicensePlate from xml_helper_functions import xml_to_LicensePlate
for i in range(1): for i in range(9):
for j in range(1): for j in range(100):
try:
filename = '%04d/00991_%04d%02d' % (i, i, j) filename = '%04d/00991_%04d%02d' % (i, i, j)
print 'loading file "%s"' % filename print 'loading file "%s"' % filename
plate = xml_to_LicensePlate(filename, save_character=1) plate = xml_to_LicensePlate(filename, save_character=1)
print plate.characters[0].value; except:
\ No newline at end of file print 'epic fail'
\ 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