The main purpose of the app is to visualize images and charts similar to cv2.imshow or matplotlib.pyplot.show but using a web backend. I want minimal changes of the original programs and dataflows. Specifically, the only change needs to be done is replacing imports (no startup method changes are needed either).
Now I’m modifying Server and ReportSession to get more features and it’s divergent a lot. I’m worrying the unstable APIs I’m using and the future compatibility.
Is there any better idea how to implement this?
Here’s my implementation: