After the hand is detected, audio is recorded until the hand is lowered
A pop up window should show up to tell you when you are being recorded
This needs to work through a camera in real-time (not a previous recording).
This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.import traceback
import numpy as np
camera = cv2.VideoCapture(0)
font = cv2.FONT_HERSHEY_SIMPLEX
filename = "recorded.wav"
chunk = 1024
# sample format...