║ python detect_and_send.py → xử lý file video ║ ║ python detect_and_send.py --webcam → webcam thực ║ ║ python detect_and_send.py --demo → giả lập (không cần AI) ║ ...
CAMERA_INDEX = 0 # 0 = default built-in webcam. Change to 1 for USB camera. FRAME_WIDTH = 640 # Width of the video frame in pixels FRAME_HEIGHT = 480 # Height of the video frame in pixels ...