Welcome to Face Counter, a Python project that simplifies face counting in images and provides an intuitive web application for visualizing the results with highlighted faces. Whether you're curious about the number of faces in a group photo or need to analyze facial data, Face Counter has got you covered.
Link to the Website (Hosted on Render)
Clone the repo
git clone https://github.com/Hardvan/FaceCounter
Navigate to the folder
cd FaceCounterCreate a virtual python environment by typing the following in the terminal
python -m venv .venv
Activate the virtual environment
Windows:
.\.venv\Scripts\activate
Linux:
source .venv/bin/activateInstall dependencies by typing the following in the terminal
pip install -r requirements.txt
Run the app
python app.py
Click on the link in the terminal to open the website
It will look something like this:
Running on http://127.0.0.1:5000
If you want to test the script, you can run the following command in the terminal:
python CountFaces.pyThis will run the script on the image in the images folder and print the number of faces found in the image along with storing the image with the faces highlighted in the output folder.







