Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Front Face Generator #902

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions Advanced_Projects/Frontal Face Generator/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Front Face Generator using Pix2Pix

This project is a front-face image generation tool using the Pix2Pix model, a conditional GAN (Generative Adversarial Network). It enables frontal face generation by taking side or angled face images as inputs.

## Steps

1. **Select Experiment Type**
Choose the type of experiment to tailor inference parameters accordingly.

2. **Define Inference Parameters**
Set key parameters such as image dimensions, batch size, and learning rate to optimize the inference process.

3. **Load Model**
Load the pre-trained Pix2Pix model for frontal face generation.

4. **Align Image**
Preprocess input images to ensure they are correctly aligned for frontal face transformation.

5. **Visualize Input**
Display the input image before performing inference, ensuring the image aligns with requirements.

6. **Perform Inference**
Run the inference process to generate the frontal face image from the input image.

7. **Visualize Result**
Display the final output, showing the generated frontal face for evaluation and analysis.

![image](https://github.com/user-attachments/assets/a19f2377-968c-4dfd-b4fe-38c17b09a307)


## Requirements

- Python 3.x
- TensorFlow or PyTorch
- OpenCV for image processing
- Other dependencies as specified in `notebook`

This project demonstrates the capabilities of Pix2Pix in transforming side-angle face images into realistic frontal face images.
2 changes: 2 additions & 0 deletions Project-Structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* [Generate Keys](Advanced_Projects/EdgeLock-X/generate_keys.py)
* [Tee Server](Advanced_Projects/EdgeLock-X/tee_server.py)
* [Web Server](Advanced_Projects/EdgeLock-X/web_server.py)
* Frontal Face Generator
* [Psp Frontalization Notebook](Advanced_Projects/Frontal%20Face%20Generator/PSP_frontalization_notebook.ipynb)
* Gui Based Taskmanager
* [Mang](Advanced_Projects/GUI%20Based%20TaskManager/mang.py)
* Navibot-Voice-Assistant
Expand Down
Loading