Hi everyone,
I’m working on converting a Python Tkinter GUI application into a web app, with Flask as the backend and React for the frontend. For real-time communication, I’m using Socket.IO.
To give some context, the application is a digital microscope that captures images using OpenCV by setting the appropriate camera properties. These images are then processed using PyTorch and other libraries.
As I transition to a web app, I’m facing a challenge: the camera will be on the client side, and opencv.VideoCapture()
won’t be able to access the client’s hardware directly.
Does anyone have suggestions on how to overcome this technical issue? I’m really stuck and would appreciate any advice.
Thanks in advance!