Closed gardenerik closed 9 months ago
pomocou openCV, pyzbar
import cv2
from pyzbar.pyzbar import decode
capture = cv2.VideoCapture(0)
cam = True
while cam:
_, frame = capture.read()
decoded = decode(frame)
for obj in decoded:
print("Data: ", obj.data)
cv2.imshow("Frame", frame)
key = cv2.waitKey(1)
if key == 27:
cam = False
@spirka5 skus pozriet, ci nie je nieco aj priamo v browseri, to by mozno bolo "jednoduchsie" na implementaciu :thinking:
Zistiť, aké sú vhodné knižnice / riešenia, otestovať.