yovasx2 / mac-screen-auto-locker-by-face

This project locks mac's screen if no face is detected after 10 seconds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mac-screen-auto-locker-by-face

Content

This project locks mac's screen if no face is detected, using opencv and python

In order to execute this project you need to install:

  • OpenCV 2
  1. Clone the repo

    $ git clone https://github.com/yovasx2/mac-screen-auto-locker-by-face
    
  2. Move into it

    $ cd mac-screen-auto-locker-by-face
    
  3. Activate virtual environment

    $ source bin/activate
    
  4. Install requirements

    $ pip intall -r requirements.txt
    
  5. Run script

    $ python lock_if_no_face_detected.py
    

You can contribute to this project in many forms:

  1. Giovanni Alberto GarcĂ­a

MIT License

About

This project locks mac's screen if no face is detected after 10 seconds

License:MIT License


Languages

Language:Python 95.8%Language:C++ 2.2%Language:C 1.9%Language:Fortran 0.1%Language:Shell 0.0%