futre function

This commit is contained in:
HeshamTB 2018-12-12 21:59:05 +03:00
parent 96c2d4ccc3
commit 4441616ef1

View File

@ -109,7 +109,9 @@ def recognize(image,face_recognizer, names):
else: else:
print(str(label) + ' >>'+names[label[0]]) print(str(label) + ' >>'+names[label[0]])
return names[label[0]] return names[label[0]]
#def DrawSquares(image,gray,faces,color):
def OpenShifter(): def OpenShifter():
try: try:
ser = serial.Serial('/dev/ttyUSB0',9600) ser = serial.Serial('/dev/ttyUSB0',9600)