Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/archismwanchatterjee/face-detector
Face Detector app
https://github.com/archismwanchatterjee/face-detector
generative-ai python3 streamlit
Last synced: 16 days ago
JSON representation
Face Detector app
- Host: GitHub
- URL: https://github.com/archismwanchatterjee/face-detector
- Owner: ArchismwanChatterjee
- License: mit
- Created: 2023-12-18T07:49:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-18T16:50:54.000Z (about 1 year ago)
- Last Synced: 2024-11-28T10:17:36.943Z (3 months ago)
- Topics: generative-ai, python3, streamlit
- Language: Python
- Homepage: https://face-detector.streamlit.app/
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![logo](https://github.com/ArchismwanChatterjee/Face-Detector/assets/115975340/fd668b46-b348-4beb-bde4-b9ef799ef30a)
# Face-Detector π
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)
![License](https://badgen.net/github/license/micromatch/micromatch)Face Detector basically detects the number of persons present in an image and also try to figure them out. As its an AI Model it sometime fails to detect the famous personalities so please consider.
Click [here](https://face-detector.streamlit.app/) to try out## How to use:
1. Go through the disclaimer β οΈ to understand more regarding what type of images will give best results.
2. Upload any image of your choice (upto 200MB)
3. Wait for the image to be uploaded, the dimesions of the image will be updated
4. Click on the button to identify the person and view results.
5. Wait for few mins and See the β¨Magic β¨ Happen.## Installation:
- clone this repository
- Face Detector requires [Python](https://www.python.org/) v3.9+ to run.
- Install the dependencies.
```python
pip install streamlit
pip install google-generativeai
pip install Pillow
pip install python-dotenv # for environment variable
```
- Make sure to create your own generative-ai api-key using Google Cloud Console or Google Makersuite and replace it.```python
genai.configure(api_key=os.getenv("MY_SECRET_KEY")) # Replace with your own api-key by creating .env file
```
or
```python
genai.configure(api_key="YOUR APIKEY") # Replace YOUR APIKEY with the actual value of your apikey
```- To run the server
```python
streamlit run "your_file_name"
```- For Deploying your application refer [Streamlit Community Cloud](https://docs.streamlit.io/streamlit-community-cloud/get-started)
## Development:
Want to contribute? Great!
Face Detector uses streamlit.
checkout *Installation* above to set it up locally.
make sure all changes you make are in the testing branch.
## Deployment:
The website is deployed using streamlit community cloud β¬οΈ
[Link](https://face-detector.streamlit.app/)