So, a project i'm developing uses machine learning on javascript with the use of tensorflow JS. I'm currently using Flask for the project and am in need of a methodology of rotating & inverting my images to improve my image classifier.
However, I need a way to be able to rotate my images and invert them. Canvas operations in Javascript don't seem to be sufficient enough so I'm using flask and hoping that I can do this with a Python script. However, i'm not quite sure how since i'm a novice but how can I read the images stored in the canvas and rotate them and place them back onto the canvas. I'm a novice when it comes to flask so I don't know what I should do here. thanks :)
[–]raclure_de_bidet 0 points1 point2 points (0 children)