/Door-Lock-Facial-Recognition

Đắk Lắk - Huế - Quảng Trị

Primary LanguageJavaScript

[Setup]

- Setup python for win10: https://www.python.org/downloads/release/python-397/ => Windows installer 64bits (recommend)
- OpenCV for python: https://www.geeksforgeeks.org/how-to-install-opencv-for-python-in-windows/
- OpenCV version 4.5.3; Python version 3.9.7
  • Mongodb

    • pip install pymongo
    • pip install "pymongo[srv]"
  • Recognize

    • Training image into a numpy array
      • pip install pillow --upgrade
  • Nestjs

    • npm i -g @nestjs/cli

[Run]

  • Sau khi cài đặt thành công opencv, python và các môi trường cần thiết (Run các lệnh trên ở terminal)
  • Ở folder chứa source code (nhánh main)
    • Chạy ở terminal: npm i => Ta sẽ thấy xuất hiện folder node_modules
  • Sau đó chạy chương trình theo hướng dẫn trong video demo