Ask Your Question

tr2014's profile - activity

2013-07-04 09:22:51 -0500 asked a question 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