Răsfoiți Sursa

Merged conflicts.

Taddeus Kroes 14 ani în urmă
părinte
comite
2f9d199521
3 a modificat fișierele cu 3 adăugiri și 15 ștergeri
  1. 3 4
      docs/report.tex
  2. 0 1
      src/LicensePlate.py
  3. 0 10
      src/Point.py

+ 3 - 4
docs/report.tex

@@ -224,10 +224,9 @@ reader will only get results from this version.
 Now we are only interested in the individual characters so we can skip the
 location of the entire license plate. Each character has 
 a single character value, indicating what someone thought what the letter or
-digit was and four coordinates to create a bounding box. To make things not to
-complicated a Character class and Point class are used. They
-act pretty much as associative lists, but it gives extra freedom on using the
-data. If less then four points have been set the character will not be saved.
+digit was and four coordinates to create a bounding box. If less then four points have been set the character will not be saved. Else, to make things not to
+complicated, a Character class is used. It acts as an associative list, but it gives some extra freedom when using the
+data.
 
 When four points have been gathered the data from the actual image is being
 requested. For each corner a small margin is added (around 3 pixels) so that no

+ 0 - 1
src/LicensePlate.py

@@ -1,5 +1,4 @@
 class LicensePlate:
-
     def __init__(self, country=None, characters=None):
         self.country = country
         self.characters = characters

+ 0 - 10
src/Point.py

@@ -1,10 +0,0 @@
-class Point:
-    def __init__(self, x, y):
-        self.x = x
-        self.y = y
-
-    def to_tuple(self):
-        return self.x, self.y
-        
-    def __str__(self):
-        return str(self.x) + " " + str(self.y)