Vehicle-Anti-Theft-Face-Rec.../Main.py

20 lines
795 B
Python
Raw Normal View History

2020-11-18 04:14:51 +00:00
import DBHelper
2020-11-18 18:51:31 +00:00
import Start_Engine
2020-11-18 04:14:51 +00:00
import Upload_Face
if __name__ == "__main__":
print("Starting the Program.")
while True:
if DBHelper.get_power() == "on":
2020-11-18 18:51:31 +00:00
Start_Engine.start()
2020-11-18 04:14:51 +00:00
if None not in (DBHelper.get_signal_firstname(),
2020-11-18 18:18:51 +00:00
DBHelper.get_signal_lastname(),
DBHelper.get_signal_email(),
DBHelper.get_signal_phone(),
DBHelper.get_signal_address()):
Upload_Face.upload_your_face(DBHelper.get_signal_firstname(), DBHelper.get_signal_lastname(),
DBHelper.get_signal_email(), DBHelper.get_signal_phone(),
DBHelper.get_signal_address())
DBHelper.reset_data()