As I'm born with this : https://en.wikipedia.org/wiki/Diplopia , I have never seen the world in 3D like most people do. Everyhting is like two superimposed postcards with some offset. In my country, it's forbidden to drive with such an issue, even if I never run into doors, people, or miss my mouth when eating ;-) In my case, no treatment, glasses or surgery could have solved it, for some reason, and I thought that was it for the rest of my life. This project was at first aimed at suppressing the offset between the two images I see. Extra bonus: I can see in 3D when the two images are perfectly re-aligned!So i thought I'd improve the project, and share my findings.
Like google cardboard or gear VR
Has to fit in the VR glasses. The better resolution the less "door effect" you'll see.
I wanted a headset with usb connection to the smartphone. It also appears my smartphone almost fits in the samsung gear VR, so I went for it. I found one second hand for around 20$. I had to trim the corners and it worked. Then I had to replace all the inside uncompatible and useless (to me) electronics with a micro usb cable.
Once I have put everything together , it looks like this.
The smartphone sits on the same usb hub as the raspberry pi on the right, all connected to the left one, which acts as the server for everything.
I am trying to use everything I already have on my shelves to keep the cost as low as possible, and because I do not want to wait for spare parts I would have to order on some asian country, with delivery delays of around a month. Here is the idea : I want to use two raspberry pi zero linked together by a usb cable, one being a usb gadget connected to the other. The video streaming between both will be entirely managed by usb virtual network interfaces and routed through iptables. The usb hub will also host an android smartphone using its usb tethering mode to use the same network and be able to watch the images streamed by both raspberry pis.