Hi there OpenCV community, this is my first post.
The thing is my code works and I am able to see the webcam feed and track desired objects. But the problem is that when I send serial data from my code to an arduino UNO the webcam freezes. I'm pretty sure that i'm interrupting the camera feed somehow, but i'm using different USB plugs.
I'm using this for serial communication to the arduino from my openCV c++ code.
link: Arduino/c++ interface
Does anyone know how to solve this problem? Some input would be greatly appreciated