Hi,

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).
[https://www.learnopencv.com/wp-content/uploads/2015/02/PythonAnywhereAddNewApp.jpg]<https://www.learnopencv.com/turn-your-opencv-code-into-a-web-api-in-under-10-minutes-part-1/>

Turn your OpenCV Code into a Web API in under 10 minutes — Part 1 | Learn 
OpenCV - Learn OpenCV ( C++ / Python 
)<https://www.learnopencv.com/turn-your-opencv-code-into-a-web-api-in-under-10-minutes-part-1/>
www.learnopencv.com
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

________________________________
From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf 
of odinukwezebr...@gmail.com <odinukwezebr...@gmail.com>
Sent: Sunday, December 16, 2018 3:09:06 AM
To: Django users
Subject: Django and OpenCV

Can I wrap opencv app inside the Djanngo framework, to build an object 
detection app. If yes please tell me how


--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
django-users+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/dbdeadbf-e18b-4028-b6ad-72b01579139b%40googlegroups.com<https://groups.google.com/d/msgid/django-users/dbdeadbf-e18b-4028-b6ad-72b01579139b%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/VI1P193MB0432F071F99CA597D46083DF8CBE0%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM.
For more options, visit https://groups.google.com/d/optout.

Reply via email to