项目作者: MauryaRitesh

项目描述 :
This repository can be used to build a FACE ID program for Laptops and PCs
高级语言: Python
项目地址: git://github.com/MauryaRitesh/Face_ID.git
创建时间: 2018-02-06T11:54:31Z
项目社区:https://github.com/MauryaRitesh/Face_ID

开源协议:MIT License

下载


Face_ID

  • AIM

    To create a simple and reliable Face Recognition program (For this VIDEO) by using Tensorflow in the Python Programming Language.

  • Setup

    You will need to install Tensorflow and Python on your Machine.
    To install tensorflow, hit the following in the terminal:

    1. pip install tensorflow
    2. pip install opencv-python

    I’m using OpenCV for taking a realtime image of our faces from our WebCamera and then Identify that image from the retrained model!
    In this way, our program of face_ID will work.

    NOTE: You must have a WebCamera, either on your Laptop or Computer!

    That’s enough for (this)[] video.
    Also, you need to clone this Repository, to do so, hit the following:

    1. git clone https://github.com/MauryaRitesh/Face_ID
  • Gathering Images

    You will need a lot of images of your(or the one for whom you are creating the Face ID) Faces, i.e., go ahead and take hundreds of
    thousands of selfies and fill all those in the Images folder of this repository. You will need to create a Folder and rename as your
    name. E.g., Create a folder named Ritesh and another as Not Ritesh.

  • (Re)Training

    To train the model, hit the following:

    1. python -m scripts.retrain \
    2. --output_graph=tf_files/retrained_graph.pb \
    3. --output_labels=tf_files/retrained_labels.txt \
    4. --architecture=inception_v3 \
    5. --image_dir=tf_files/images
  • Using the Model

    To get the model Working, hit the following:

    1. python -m scripts.label_image

    That’s enough for now!
    Do STAR this Repo if it really helped you!