Deep Learning Simplified is an Open-source repository, containing beginner to advance level deep learning projects for the contributors, who are willing to start their journey in Deep Learning. Devfolio URL, https://devfolio.co/projects/deep-learning-simplified-f013
Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a JWOC 2022 participant it's, JWOC Participant) GSSOC 2024 contributor
Closes: issue number #544
Describe the add-ons or changes you've made π
Setting Up the Environment
Backend (Flask) :
Install Flask and dependencies: Use pip or pipenv to install Flask and any other necessary Python libraries (e.g., OpenCV, TensorFlow).
Loading and Preparing the Model
Load the pre-trained model: Use TensorFlow/Keras to load the trained anti-spoofing model.
Define helper functions: Create functions to process input images/videos and make predictions using the model.
Developing the Backend
-Flask Routes
Upload route: Serve the main HTML page.
Process route: Handle file uploads from the user (images or videos).
Prediction route: Process the uploaded files, run them through the model, and return the results.
Building the Frontend
HTML Templates
Main Page: Include a form for uploading images/videos and a section to display results.
-Result Display: Use placeholders in the HTML to dynamically show the prediction results.
CSS Styling :
Styling Elements: Style buttons, forms, and results display for better user experience.
Integrating Backend and Frontend
Form Handling: Ensure the form in the HTML template correctly posts data to the Flask backend.
Testing
Local Testing: Run the Flask app locally to test all functionalities and ensure the model predictions are correct.
Debugging: Checked for and fixed arising issues or bugs.
Type of change βοΈ
What sort of change have you made:
[βοΈ ] New feature addition
[βοΈ ] Built Web Application for Anti Spoofing Project model using Flask , HTML, CSS
[βοΈ ] Followed the specified Project structure
[ βοΈ] Code style update (formatting, local variables)
How Has This Been Tested? βοΈ
I have tested the Anti-Spoofing WebApp in running it on my local machine
Checklist: βοΈ
[βοΈ ] New feature (non-breaking change which adds functionality)
[ βοΈ] My code follows the guidelines of this project.
[ βοΈ] I have performed a self-review of my own code.
[ βοΈ] I have commented my code, particularly wherever it was hard to understand.
[ βοΈ] I have made corresponding changes to the documentation.
Pull Request for DL-Simplified π‘
Issue Title : [Feature Addition]: Web Application for Anti Spoofing Project #544
JWOC Participant
) GSSOC 2024 contributorCloses: issue number #544
Describe the add-ons or changes you've made π
Setting Up the Environment
Loading and Preparing the Model
Developing the Backend -Flask Routes
Building the Frontend
Integrating Backend and Frontend Form Handling: Ensure the form in the HTML template correctly posts data to the Flask backend.
Testing Local Testing: Run the Flask app locally to test all functionalities and ensure the model predictions are correct. Debugging: Checked for and fixed arising issues or bugs.
Type of change βοΈ
What sort of change have you made:
How Has This Been Tested? βοΈ
I have tested the Anti-Spoofing WebApp in running it on my local machine
Checklist: βοΈ