gdscigdtuw / photo_effect Goto Github PK
View Code? Open in Web Editor NEWA web application that renders an effect on an image uploaded by user using python image processing libraries.
A web application that renders an effect on an image uploaded by user using python image processing libraries.
Create basic flask application structure with just an index page
The application should have the following structure:
refer to https://github.com/dscigdtuw/WebD/tree/master/Flask/sessions/session_1 to get started
Resource: https://docs.opencv.org/master/da/d22/tutorial_py_canny.html
Add the code in the effects.py file , a function called edge_detection has already been created there, edit that function to render the effect on the frame by referring to the above resource.
Resource : https://towardsdatascience.com/painting-and-sketching-with-opencv-in-python-4293026d78b
Add the code in the effects.py file , a function called watercolor has already been created there, edit that function to render the effect on the frame by referring to the above resource.
Resource: https://towardsdatascience.com/painting-and-sketching-with-opencv-in-python-4293026d78b
Add the code in the effects.py file , a function called black_and_white_sketch has already been created there, edit that function to render the effect on the frame by referring to the above resource.
Create a separate route called /video_feed which streams webcam video, add this link to nav bar
Add the code in the effects.py file , a function called cooling_effect has already been created there, edit that function to render the effect on the frame by referring to the above resource.
Resource: https://towardsdatascience.com/painting-and-sketching-with-opencv-in-python-4293026d78b
Add the code in the effects.py file , a function called oilpainting has already been created there, edit that function to render the effect on the frame by referring to the above resource.
Resource: https://www.geeksforgeeks.org/cartooning-an-image-using-opencv-python/
Add the code in the effects.py file , a function called cartoonize has already been created there, edit that function to render the effect on the frame by referring to the above resource.
Add the code in the effects.py file , a function called warming_effect has already been created there, edit that function to render the effect on the frame by referring to the above resource.
In the effects.py file in app directory
Some sources for same are:
https://www.w3schools.com/css/css_navbar.asp
https://codetheweb.blog/style-a-navigation-bar-css/
Bootstrap makes it super super easy to stylize your application.
Look for some appropriate templates that you think will suite our application.
The following links may come in handy.
Design a logo for the photo effects web application
You can use Canva, Adobe photoshop , Adobe illustrator or any tool of your choice.
Resource: https://towardsdatascience.com/painting-and-sketching-with-opencv-in-python-4293026d78b
Add the code in the effects.py file , a function called colored_sketch has already been created there, edit that function to render the effect on the frame by referring to the above resource.
Edit index.html to add nav bar
In the index.html file add a nav bar with link to the index page
Also add a paragraph describing the application below the heading. (You can write it in your own words after referring to README.md)
Follow the following steps
Go to app/template/index.html
Edit the para below the heading to include more info about the application
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.