def refreshFrame(frame, faceCoordinates): if faceCoordinates is not None: fdu.drawFace(frame, faceCoordinates) cv2.imshow(windowsName, frame)
def refreshFrame(frame, faceCoordinates, emotion): if faceCoordinates is not None: fdu.drawFace(frame, faceCoordinates) fdu.drawText(frame, faceCoordinates, emotion) cv2.imshow(windowsName, frame)