I am using PiCamera on my PI. I am executing this command on the PI:
raspivid -n -t 0 -w 640 -h 480 -fps 30 -o - | nc 192.168.0.12 5000
On my computer (windows), executing this command:
nc -l -p 5000
After I run the first command on the PI, then the one on the computer, I see the image data showing up really fast for every frame on the computer command line:
When I redirect the nc command using > to a file, I can see the image bytes in the file when I open it:
I want to open the image stream with openCV for image processing. How can I do this?