Python Libraries
Python Libraries
s = serial.Serial('COM1',9600)
def speak(str1):
speak=Dispatch(("SAPI.SpVoice"))
speak.Speak(str1)
# pass the blob through the network and obtain the face detections
faceNet.setInput(blob)
detections = faceNet.forward()
print(detections.shape)
# grab the frame from the threaded video stream and resize it
# to have a maximum width of 400 pixels
frame = vs.read()
frame = imutils.resize(frame, width=400)
# do a bit of cleanup
cv2.destroyAllWindows()
vs.stop()