Giter VIP home page Giter VIP logo

deepface-scanner's Introduction

DeepFace Scanner

Description

The DeepFace Scanner is a Python program that utilizes the DeepFace library to extract information from JPEG files containing human faces. The program describes the age, gender, emotion, and race of the person in each photograph. It outputs the results to the terminal and also saves them in a CSV file in the program directory.

Table of Contents

Prerequisites

Before you begin, ensure you have the following requirements:

  • Python: Make sure you have Python installed on your system. You can download it from python.org.

  • Libraries: Install the DeepFace, CV2, and Pandas library using the following commands:

    pip install deepface
    
    pip install cv2
    
    pip install pandas
    

Installation

Follow these steps to set up the DeepFace Scanner program:

Step 1: Clone the Repository

git clone https://github.com/AJDevCode/deepface-scanner.git

Usage

To run the DeepFace Scanner program, execute the following command:

python main.py

The program will process JPEG files in the program directory, describe the age, gender, emotion, and race of the person in each photograph, and output the results to the terminal. It will also save the results in a CSV file.

Furthermore, add any additional JPEG files to the faces_pic folder for testing in the program.

Example Provided:

DeepFace Scanner photo

Features

  • The DeepFace Scanner program offers the following key features:

  • Utilizes the DeepFace library for face analysis.

  • Describes age, gender, emotion, and race of a person in each JPEG file.

  • Outputs results to the terminal and saves them in a CSV file.

Technologies Used

  • Python
  • DeepFace Library
  • CV2
  • Pandas

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.