I want to show image frames generated from OpenCV on react, I am using Django as server-side. I get a single frame from each request when I send requests from react to Django, so it constitutes a large number of requests at a time.
For now, I am just sending a request to API again and again which I think is not a proper way. I need resources like a tutorial , articles to learn the best way to achieve this thing.
I have seen like WebSockets will be good but I researched a lot but can't found a proper resource.
Can someone suggest to me or can share a good resource to learn?