Video analysis is a GPU intensive process, it may take a long time to process a whole video, I think you can use Celery to run the process as an asynchronous task, and use callback to trace the progress of the tasks .
Celery can be easily integrated with Django, officially support. Aakash Baranwal <[email protected]> 于2019年4月11日周四 下午3:59写道: > 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. > > 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. > > PS - I can select whether I want to upload the image or the video or I > want to use the live footage of the camera and run my model on that. > > Thank You in advance. > > 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 [email protected]. > To post to this group, send email to [email protected]. > 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 [email protected]. To post to this group, send email to [email protected]. 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/CA%2BJstLBMiWgmukrN71Vu1Ei2xKK6mTyV%2Buk2Ppgu2ync%3DddhzQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

