Assuming that you have to do all the processing locally on your server computer.
Best Regards, PARTH PATIL On Thu, 11 Apr 2019, 1:29 pm Aakash Baranwal, <baakash1...@gmail.com> wrote: > Hi Everybody, > > I need a help in integrating a machine learning model with my website. > > I have a file upload button where I can upload either an image or a video. > After it is uploaded, I want to run my model into it and whatever is the > result I want to display it and keep a record of the whole process. > This can can be easily done using using the current framework. Just process whatever you want to do in a single view and return the result to the user. You can use threading to optimize your load time. > Also, I wish to add a feature of connecting my website with my CCTV > camera, so I can have a live video feed instead of uploading a video and > then do the same. > You can use django socket to send asynchronous messages to the server and do your processing when a message is received in a consumer. That would do the trick. > > With Kind Regards > > Aakash > > -- > 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/CALr9hQ0sxzr%3DwZfNa6%3DhAy1tU6KdRE3-S6nJ4YbOock1SoFpmw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CALr9hQ0sxzr%3DwZfNa6%3DhAy1tU6KdRE3-S6nJ4YbOock1SoFpmw%40mail.gmail.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/CAJSC-ifNegZkb27M8kYYVjrhfHe%2BCnx-LzgPAC18mg5KNW8GXQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.