Skip to content

Using python face_recognition package and openCV for face detection of Jurassic Park charcters.

License

Notifications You must be signed in to change notification settings

GhostUser/Jurassic-Park-characters-Face-recognition

Repository files navigation

Face_Recognition using openCV-python, dlib and face_recognition

Using python face_recognition package and openCV for face detection of Jurassic Park characters. The project is influenced by this wonderful tutorial on Face Recognition with openCV and Deep learning by Adrian Rosebrock.

Also, this is just a learning project and the code is not being used by me for any monetary or tutorial purposes.

For generating the encodings file:

run

python encode_face.py --dataset dataset --encodings encodings.pickle

in the terminal with the right directory and environment activated.

For running the face recognition script:

run

python recognize_faces_image.py --encodings encodings.pickle --image examples/example_1.jpg

Examples

alt text

Requirements

The following libraries and packages should be installed in the virtual environment:

  • face_recognition(Adam Geitgey)
  • dlib (maintained by Davis King)
  • openCV-python
  • imutils
  • agrparse

Packages can be installed by using package manager pip.

pip install <package_name>
  • Before installing the dlib, make sure you have CMake installed on your system.

Dataset

All images for dataset and examples are collected by me using a chrome extension, which can be downloaded from here.

License

PyImageSearch

Reference

A major part of project is taken from a blog by Adrian Rosebrock on PyimageSearch.

The referenced tutorial on Face Recognition with openCV and Deep Learning can be found here.

About

Using python face_recognition package and openCV for face detection of Jurassic Park charcters.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages