4
I want to make a web application that will read colors in RGB logos and create suggestions of color scales for websites.
The algorithm will be in python, using Opencv.
The client moves the image > the image is read by the algorithm > the server returns the results to the client.
My doubts:
How do I communicate the client side with the algorithm? I really have no idea how to structure this.
How do I include the Opencv module in Python on the server? I installed it on my machine, but I would need to install it on the server as well, right? (Consider the use of AWS)
You can already do the processing locally?
– epx
Use a framework like Django or flask, see this minimalist example with flask.
– Sidon
Python "out of the box" can’t connect to the Web like that. You can implement a web server with it or you can use a framework, just like @Sidon said. I particularly like Django.
– Leonardo Pessoa
Thanks! The example in Flask helps a lot, I will check Django also to see what pleases me most. Regarding the issue of Opencv when I publish the app on the web: how I include the module on the server?
– vaugusto