OpenCV (CV2) Slow and Laggy
I am a High School student trying to do some fun projects and put it onto my website. Currently, I am working on a rock, paper, scissors game with OpenCV, but when I just try it locally on my webcam it takes like 2 minutes to load and when I see the webcam, it is really slow and laggy. I was wondering how I can fix this. I plan on using a React.js frontend and a Django or Flask backend. Is there something wrong I am doing in my script or do I have to change the architecture when adding the frontend and backend. Or is there some place to host the frontend and backend to compute faster and fix the problem? Or is there a tool I should be using instead of OpenCV?