6/2/2023 0 Comments Vr photo scannerIn uvc, image formats are selected by four-character so-called fourcc values. The camera’s real video image format is greyscale, with 8 bits per pixel. “I then noticed that Oculus added a second layer of obfuscation. Kreylos describes this as a layer of “obfuscation” and says it is one of a few that Oculus employs to keep what is, in essence, a camera from behaving like one. Instead, there’s a custom driver they want Windows to use to interface with the Sensor so that it functions only in tandem with the Rift. If it did, Windows might automatically pull up its standard webcam drivers, which is not what Oculus wants. And because it actually is one, from that point on it works.”Įssentially what this means is that Oculus told the Sensor not to announce itself to the Windows operating system as a camera. When the driver sees the USB vendor and product ID that match the Rift camera, it ignores the class type that’s in the USB descriptor, and starts treating it as a uvc camera. To make it work, I had to patch the Linux kernel’s uvc camera driver. The Rift camera is still a uvc camera, but in the USB descriptor that’s sent to the host when it’s plugged in, the byte that should say ‘video class’ says ‘vendor-specific class.’ That’s why it doesn’t show up as a camera when you plug it into a PC without Oculus’ driver software installed. Normally, when you plug a webcam into a USB port, the camera announces itself as a device in the USB video class (uvc), and the host PC then loads the standard uvc camera driver, and the camera works plug&play. Oculus decided to hide the fact that the Rift ‘sensor’ is a bog-standard webcam. In an email written to UploadVR, he explains:: How is This Possible?Īccording to Kreylos, the combination of some basic Linux know-how and a general understanding of the way a computer works is all it takes to pull an image from his Oculus Sensor. What Kreylos demonstrated, however, is that with a bit of informed tinkering, one can actually pull a recognizable image from the Oculus Sensor as if it was a low resolution black and white camera. These “Sensors” are essentially cameras used to track the position of the Rift and Touch controllers in three dimensional space by picking up the imperceptible glow of infrared lights all over the headset and controllers. The right side of the above image was pulled by Kreylos from one of his Oculus Sensors. More recently, Kreylos has been digging into the Oculus Rift Sensor and its ability to function as a basic webcam. He is known as something of a sleuth in the industry and was one of the first people to determine the actual field of view of the HoloLens before Microsoft released the official specs. Oliver Kreylos is a researcher at UC Davis focusing primarily on virtual and augmented realities.
0 Comments
Leave a Reply. |