Để chạy được mã Python này, cần cài đặt các thư viện sau:
- OpenCV: Để xử lý hình ảnh.
- Mediapipe: Để phát hiện và theo dõi bàn tay.
- numpy: Để tính toán các phép toán số học.
- tkinter: Để tạo giao diện người dùng. Thư viện này thường có sẵn trong Python mặc định.
- Pillow: Để xử lý hình ảnh trong tkinter.
- openpyxl: Để làm việc với file Excel.