Update main.py

This commit is contained in:
Siwat Sirichai 2023-11-24 14:28:34 +07:00
parent 86c0ee3d1a
commit d749216c84
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from access_control_mqtt import access_control
from database import Database, Student, Parent from database import Database, Student, Parent
from display import Display from display import Display
SERIAL_PORT_DISPLAY = "COM11" SERIAL_PORT_DISPLAY = "/dev/serial0"
CAMERA_INDEX = 0 CAMERA_INDEX = 0
cam = cv2.VideoCapture(CAMERA_INDEX) cam = cv2.VideoCapture(CAMERA_INDEX)