What do you mean exactly by
"opencv app" ?
If you are referring to some kind of interactive app popping up windows to display results of processing, or using the associated event loop, there are great chances you cannot
for obvious reasons (number one being that there is no graphical desktop environment on servers).
But if you mean
"use image processing algos from the OpenCV lib", then the answer is "it depends". If the involved OpenCV features do not depend on stuff provided by, or depending on, the desktop environment and which cannot be installed out of this context,
there are chances you'll be able to. For instance, a lot of people have developed OpenCV based apps for targets such as a RaspberryPi running with the headless (aka "server") version of Raspbian
(the
Debian RaspberryPi flavor).
Try googling with
"opencv headless" or "opencv server" and you'll get a good deal of information. A guy has posted an article titled "Turn your OpenCV Code into a Web API in under 10 minutes" (https://www.learnopencv.com/turn-your-opencv-code-into-a-web-api-in-under-10-minutes-part-1/).
It should provide you interesting stuff too (I didn't watch at it at it is 3 years old now, so I can't say if it is really valuable or not nowadays).
|
|
Let’s lay down the goals of this tutorial first. We will create a Web API that allows a user to call your OpenCV code. We will build a simple example in under 10 minutes.
|
HTH
Regards
Eric