Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use a progress bar to show python function progress in Django?

Tags:

django

I created a website where a user uploads videos and I process the video frame by frame with a python function. In this function, I know how many frames I've already processed. And I want to show the progress to users in a progress bar. I googled a lot, but almost all progress bars are for uploading, so how can I implement this? Thanks!

like image 877
Demonedge Avatar asked Feb 07 '23 01:02

Demonedge


1 Answers

I wrote a demo, in case this may help someone else.

like image 102
Demonedge Avatar answered Jun 04 '23 22:06

Demonedge