Coder Social home page Coder Social logo

face_detection's Introduction

Giới thiệu chương trình:

  • Chương trình sử dụng flask để chạy server trên python.
  • Khi chạy chương trình trang web sẽ hiển thị và khi ấn vào đăng nhập sẽ có 2 bước xác thực là nhập mật khẩu bình thường sau đó là nhận diện khuôn mặt thành công thì mới trả về kết quả.

Các chức năng của:

  • Vì mục đích chính của chương trình là nhận diện xác thực khuôn mặt nên tài khoản login sẽ được set cứng trong file app.py
  • Sau khi đã nhập đúng username và password thì người dùng sẽ phải qua bước xác thực khuôn mặt nếu đúng là người đó thì mới cho phép đăng nhập.

Thực hiện chương trình

  • Để chạy chương trình thì đầu tiên phải có một bộ dữ liệu ảnh dataset của người dùng cung cấp

  • sử dụng lệnh:

    • py NewUser.py để thêm bộ ảnh của người dùng mới
  • Sau khi đã thêm người dùng mới, ta tiếp tục chạy chương trình train mô hình với lệnh sau:

    • py TrainCNN.py: chương trình này có thể năng và tốn nhiều tài nguyên của máy
  • Sau khi đã train mô hình xong thì vào app.py:

    • thêm người dùng vừa tạo với id vào biến users
  • Cuối cùng là chạy file app.py: py app.py

face_detection's People

Contributors

devphampham avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.