reqopinfo.blogg.se

Toni dtmf
Toni dtmf




toni dtmf

Tp.I'm testing an SPA112 with firmware version "1.2.0 (042) Jul 5 2012" to see if some of the previous DTMF issues have been resolved. SmileCascade = cv2.CascadeClassifier('smiles.xml')Ĭap = VideoStream(usePiCamera=args > 0).start()įramex = cap.read() # Capture frame-by-frameįrame = imutils.resize(framex, width=400) Help="whether or not the Raspberry Pi camera should be used")įaceCascade = cv2.CascadeClassifier('faces.xml') I need to multiprocess the frame's mainloop so that the face detector can actually check whether or not a face is in view.įrom chocolate_returner import Choco_returnerįrom given_resetter import Given_resetterĪp.add_argument("-p", "-picamera", type=int, default=-1, Right now I tried setting it up with a separate face detection loop dedicated just to closing the frame (the frames class has a facefound() function which just calls a stroy()). I also need the Tkinter frame to close when a face is detected. The other classes initialized in the code below are for updating a database and playing a DTMF tone when a smile is recognized, my main issue is that the mainloop from the Tkinter frame won't allow any other processes to continue. I need this frame to close when openCV detects a face, after which openCV opens a window that shows the camera feed and starts tracking smiles.

toni dtmf

So basically I have an app that has a splash screen Tkinter frame.






Toni dtmf