An open API service indexing awesome lists of open source software.

https://github.com/as567652/controller-based-on-face-alignment

Small python code snippet, that can be used to control various apps / games using face-alignment of a person in real time.
https://github.com/as567652/controller-based-on-face-alignment

computer-vision haar-cascade opencv pyautogui python3

Last synced: about 2 months ago
JSON representation

Small python code snippet, that can be used to control various apps / games using face-alignment of a person in real time.

Awesome Lists containing this project

README

          

# Controller Based On Face Alignment
Small python code snippet, that can be used to control various apps / games using face-alignment of a person in real time.

## Table of contents
* [Introduction](#introduction)
* [Technologies](#technologies)
* [Setup](#setup)
* [Instructions Before Launch](#pre_launch_instr)
* [Launch](#launch)
* [Illustrations](#illustrations)
* [Status](#status)
* [Sources](#sources)

## Introduction
Aim of this code snippet is to make a simple computer vison project, which can be used in different applications.This can be used to control games and by using **PyAutoGUI** you can control mouse also.
Just for FUN.

## Technologies
#### Software Used :
* VS Code : 1.58.2
#### Languages Used :
* Python 3
#### Libraries Used :
* OpenCV
* PyAutoGUI
#### Project Tested On :
* Ubuntu 20.04.3 LTS 64-bit

## Setup
First you must have these softwares and languages installed on your system -
* [Python 3](https://www.python.org/)
* [OpenCV (Open Source Computer Vision Library)](https://opencv.org/releases/)
* [PyAutoGUI](https://pypi.org/project/PyAutoGUI/#files)

## Instructions Before Launch
These instructions must be followed to get better results :-
* Face should be in better lit area.
* Control works only on current focussed window only (You can easily edit this part)

## Launch
To run this project, run these commands in terminal. Make sure that main.py file is present in the current directory
```
$ python3 main.py
```
On running this code, webcam should be enabled

## Illustrations

## Project status
***Completed*** (Room For Improvement)

## Sources
* [**OpenCV Documentation**](https://opencv.org/)
* [**PyAutoGUI Documentation**](https://pypi.org/project/PyAutoGUI/)