Git Product home page Git Product logo

vgg-faces-utils's Introduction

vgg-faces-utils

Script to download and annotate images from VGG Faces dataset

Usage

Download resources

Download VGG Face Dataset from it's home page:

http://www.robots.ox.ac.uk/~vgg/data/vgg_face/

Or:

https://mega.nz/#!zeQSwC7D!aOBgSYkvldL6k91VdwKIx_EKS1J3_MQduPEU3QQ8g-o

You would get a file vgg_face_dataset.tar.gz that contains a vgg_face_dataset folder.

Setup tools

git clone https://github.com/ndaidong/vgg-faces-utils.git

# extract compressed file into repo folder
tar -zxvf vgg_face_dataset.tar.gz -C vgg-faces-utils


cd vgg-faces-utils

# create virtual environment
python3 -m venv venv
source venv/bin/activate

# install packages
(venv) pip install -r requirements.txt

# start processing
(venv) ./script.py -d vgg_face_dataset/files -o output

The process may take several days depending on the connectivity.

It would try to download about 2.6 milions images from many resources. However, we just expect to get about 1 milion. Almost of links no longer available for right now.

Downloading

Update annotations with labelImg

To check and modify the labels after downloading finishes.

(venv) labelImg

Specify image dir and label dir to get:

labelImg

License

The MIT License (MIT)

vgg-faces-utils's People

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.