FaceHideEmoji is a unique Python tool designed for anonymizing faces in images using emojis.
FaceHideEmoji is a unique Python tool designed for anonymizing faces in images using emojis. This innovative approach uses face detection to locate faces in an image and then overlays them with emojis, providing both privacy and a playful touch.
Before | After |
---|---|
Ensure Python is installed on your system before setting up FaceHideEmoji. Install the necessary dependencies with the following command:
pip install -r requirements.txt
This command installs all the required Python libraries, such as face_recognition
and opencv-python
, which are listed in requirements.txt
.
Run the main.py
script with the path to the image file as an argument. The script detects human faces and covers them with emojis.
python main.py <image_path>
Replace <image_path>
with the path to your image file. For example:
python main.py images/sample.jpg
The processed image will be saved in the same directory, indicating that the faces have been covered with emojis.
Contributions to the FaceHideEmoji project are welcome. Feel free to fork the repository, make your changes, and submit a pull request for review.
FaceHideEmoji is made available under the MIT License.