Commit 9cd3cdd0 authored by Diyamantha N.K.A.G.O's avatar Diyamantha N.K.A.G.O

rearrange Anpr into main code

parent 4004ada4
...@@ -247,11 +247,11 @@ def start_detection(): ...@@ -247,11 +247,11 @@ def start_detection():
number_plate = OM.provineces[3] + OM.def1 + OM.def2 number_plate = OM.provineces[3] + OM.def1 + OM.def2
number_plates.append(number_plate) number_plates.append(number_plate)
number_plate = list(set(number_plates))[0] number_plate = list(set(number_plates))[0]
#print(number_plate) print(number_plate)
#sending(number_plate ,email , password , to ) sending(number_plate ,email , password , to )
#f = open("number_plates.txt", "a") f = open("number_plates.txt", "a")
#f.write(number_plate) f.write(number_plate)
#f.close() f.close()
if violation_detected: if violation_detected:
......
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