Giter VIP home page Giter VIP logo

install-python-facerecognition's Introduction

Installing python libraries for face_recognition

Dlib installation

Windows

Requirements:

  1. Visual Studio Express (possibly)
  2. Python=3.8

Links:

  1. Dlib installation error? [duplicate]
  2. Install OpenCV 3 and Dlib on Windows ( Python only )

Mac with Apple M1

  1. Software Installation (Mac on Apple Metal M1) <-- preferred mode (Thanks to Jeff Heaton)
  2. Installing dlib on macos for python

Steps:

  1. Follow the steps in the 1st link above to install tensorflow, metal, keras
  2. Install dlib: pip install dlib
  3. Install face_recognition: pip install face_recognition
  4. Install opencv-python: pip install opencv-python
  5. Install opencv-contrib-python: pip install opencv-contrib-python
  6. Install tesseract: brew install tesseract
  7. Install ffmpeg: brew install ffmpeg

Ubuntu/Linux

  1. install miniconda from here
  2. create new environment: conda create -n face_recognition python=3.8
  3. activate environment: conda activate face_recognition
  4. install cmake: sudo apt install cmake
  5. install build-essentials etc: sudo apt install build-essential cmake pkg-config
  6. download and build dlib from this link and following this instructions
  7. install cv2: pip install opencv-python
  8. install face_recognition: pip install face_recognition
  9. install tensorflow: conda install tensorflow
  10. install keras: conda install keras

Other notes:

Opencv (cv2) installation

  1. opencv-python

Face_recognition installation

  1. Windows Installation Tutorial #175
  2. Face Recognition

install-python-facerecognition's People

Contributors

samawi avatar

Watchers

James Cloos avatar  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.