This is a selfie camera app that incorporates Face Recognition capabilities. The app allows users to capture selfies using their device's camera and apply face recognition to identify faces in the images.
The SelfieCamera-with-FaceRecognition app offers the following features:
-
Enable Recognition: This mode enables face recognition functionality. When capturing a selfie, the app will detect faces in the image and display the recognized faces along with their names (if known).
-
Disable Recognition: This mode disables face recognition. Users can still capture selfies, but the app will not perform any face recognition.
-
Enable Date: This mode enables the display of the current date and time on the captured selfie.
-
Disable Date: This mode disables the display of the date and time on the captured selfie.
To use the SelfieCamera-with-FaceRecognition app, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/Armen-Jean-Andreasian/Selfie-AI.git
-
Install the required dependencies. The app requires the following packages:
- cv2
- streamlit
You can install these packages using the following command:
pip install cv2 streamlit
Run the app using the following command:
streamlit run main.py
This will start the app, and you can access it in your web browser at http://localhost:8501.
Notes:
- If you want to deploy this app not on Heroku but on Streamlit:
- Streamlit support suggests to include
opencv-python-headless
to therequirements.txt
- However, if you want to completely overcome the issues you can try to use
streamlit-webrtc
- Streamlit support suggests to include
I welcome contributions to the Selfie AI app! To contribute, please follow these steps:
-
Fork the repository on GitHub.
-
Clone your forked repository to your local machine:
git clone https://github.com/Armen-Jean-Andreasian/Selfie-AI.git
-
Create a new branch for your contribution:
git checkout -b new-feature
-
Make your desired changes to the codebase.
-
Commit your changes with descriptive commit messages:
git commit -m "Add new feature"
-
Push your branch to your forked repository:
git push origin new-feature
-
Open a pull request on the original repository, explaining your changes and the purpose of the pull request.