Explorar el Código

Test file voor zwart wit

Gijs van der Voort hace 14 años
padre
commit
3f03c613e6
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17 0
      src/bla.py

+ 17 - 0
src/bla.py

@@ -0,0 +1,17 @@
+#!/usr/bin/python
+from LicensePlate import LicensePlate
+from Classifier import Classifier
+from cPickle import dump, load
+
+chars = []
+
+for i in range(9):
+    for j in range(100):
+        filename = '%04d/00991_%04d%02d.info' % (i, i, j)
+        plate = LicensePlate(i, j)
+        if hasattr(plate, 'characters'):
+            chars = plate.characters
+           
+        for char in chars:
+            char.image.show()
+