/face-mesh-detection-web-app

⚡A python streamlit web app that detects face mesh on images & videos

Primary LanguagePython

face-mesh-web-app

Face Mesh Detection Web App 1

Face Mesh Detection Web App 2

Face Mesh Detection Web App 3

project-description (8)

This is a Face Mesh Detection Web App made using a Python library called Streamlit used to make Custom Data Science & Machine Learning Web Apps. The Face Mesh is achieved through the Cross-Platform Machine Learning Solutions Library called Mediapipe loaded using OpenCV Python. The User can choose between two App Modes: Image Mode & Video Mode. Depending on the mode selected, the User can either upload an Image File or a Video File, apply the Face Detection Mesh, and view the resulting output on the Main Page. Additionally, the User has the option to enter the Number of faces they would like to detect on an Image or Video and control the Detection Confidence, the Tracking Confidence, the Mesh Drawing Thickness, and the Mesh Circle Radius.

project-live-demo

https://share.streamlit.io/mohdalibn/face-mesh-detection-web-app/main/FaceMeshWebApp.py

CLICK HERE TO OPEN A LIVE DEMO OF THE APP ON YOUR BROWSER

technologies-used (8)

Figma Python Python Python Python

how-to-use-project (3)

Install the following Python libraries in your Virtual Environment using PIP.

Note: The library names are CASE-SENSITIVE for PIP installations below. Make sure your type them correctly.

Install Streamlit for Python

pip install streamlit

Install Mediapipe for Python

pip install mediapipe

Install OpenCV for Python

pip install opencv-python

Install OpenCV Contrib for Python

pip install opencv-contrib-python

Install Numpy for Python

pip install numpy

Install Pillow for Image Processing in Python

pip install Pillow

Download a copy of this repository onto your local machine and extract it into a suitable folder.

  • Install all the required Python libraries mentioned above.

  • Open a Command Prompt/Terminal in the Root Directory of the Project.

  • Type the following command in the terminal to start an instance of the Streamlit App.

streamlit run FaceMeshWebApp.py
  • Enjoying using the App!