From 9b31bd4e60f698d530685e2a1043cdab12a97688 Mon Sep 17 00:00:00 2001 From: gocivici Date: Fri, 20 Oct 2023 14:57:20 +0300 Subject: [PATCH] camera input change --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f3f0c35..5c2fea4 100644 --- a/main.py +++ b/main.py @@ -12,7 +12,7 @@ from PIL import ImageFont from deepface import DeepFace #pip install deepface button = Button(2) -cam = cv2.VideoCapture(1) +cam = cv2.VideoCapture(0) printer = Serial(devfile='/dev/serial0',baudrate=19200,bytesize=8,parity='N',stopbits=1.00,dsrdtr=True) printer.set(density=10)