How to grab a fram from a live video using opencv?
I created a face recognition program using opencv and i want to capture an image when the confidence > 0.8 this is the code for initializing the liveVideo
LiveVideo = VideoStream(src=0).start()
while True:
frame = LiveVideo.read()
frame = imutils.resize(frame, width=1000)
....
if anyone knows how to grab a frame from the live video and save it please tell me how to do so