Ask Your Question

Revision history [back]

openCV read from serial port

Hello,

I wrote a code which captures a video from the webcam. Now I need to change the quality of the video depending on the rssi, which I receive from the serial port (done with tinyOS). Is there a way I could read directly from the serial port, or do I need to use an intermediate file ? If I need a file, then how can I do it ? I already tried to just read an int from a file but when I do fopen there is a segmentation fault.

Thanks