How to run an opencv function on a web server?

asked 2017-04-27 22:05:16 -0600

I'm using django and have some opencv functions that I want to execute but they work on local host and not on a web server. Normally on local host, the function would open a new window to show the result but does it do the same thing if it is running on a web server like azure or do I have to modify the opencv code in some shape to get it to work on a web server like azure. I already don't reference any files for my opencv functions locally, they are handled through amazon s3 so that is not the problem. Is there any modifications I have to make to the cv2.imshow method to get it work properly on a web server?

edit retag flag offensive close merge delete

Comments

it probably does not make any sense, to open gui windows on the server machine, there is noone, to look at them.

you will have to save the images temporarily, and make your client download them via html

again, cv2.imshow() is of no use here at all.

berak gravatar imageberak ( 2017-04-28 01:06:54 -0600 )edit