I want to make 2 video capture previews (live stream) side by side kind of like this:
Using the Raspberry Pi Camera through the CSi port.
I have tried literally just about everything. My first idea was to use Processing 2.1 and run a sketch on the raspberry pi, but it didn't really work out (used too much processing power, GSCapture and GStreamer library issues).
I then tried the Picamera 0.8 plugin for Python and tried to code a simple program for stereoscopic vision.
I tried grabbing 2 instances of the picamera:
camera = picamera.Picamera()
camera2 = picamera.Picamera()
then running 2 windows side by side, but I got an error saying it can't have 2 instances of Picamera running.
Then I tried running 2 python programs at once using subprocesses and my raspberry pi blew up (figuratively).
Is there anyway to copy the video preview (copy pixels) or something so that I can have 2 camera previews side by side?
The most important thing is high framerate/low latency. I can't have the camera running at 4fps or 10fps, it has to be minimum 30fps (or I would have used a webcam).
I am thinking about SimpleCV/OpenCV or OpenFrameworks and try from there, but I am literally about to pull out my hairs on this haha, this is SO frustrating!
If you have any advice or maybe a way to do it through python (best bet) that would be awesome!
I attached my sketches to this comment (processing, python) if you need to take a look.
I just need the camera output duplicated from the Raspicam. I don't really need stereoscopic 3d, just a side by side duplicated video from the CSi camera, thanks!