← Back

ofxPSEyeGrabber_Barcelona

github.com/tenderbolton/ofxPSEyeGrabber_Barcelona · @tenderbolton
OF 0.9 Video/Camera Computer Vision

This repo holds a modified version of ofxPSEyeGrabber. This version can identify connected cameras.

0 0 Last commit 10y ago Created 10y ago

README

ofxPS3EyeGrabber



A Sony PS3 Camera grabber for openFrameworks.

This class extends ofBaseVideoGrabber making it easy to drop in to existing projects.

This addon is largely based upon the great work of @inspirit found here.

This addon is largely intended for OSX and Windows, as Linux has a built-in driver available by default through ofVideoGrabber.

This addon requires libusb for direct camera access. Rather than including that library in this addon, it is easier to simply include ofxKinect, which is a core addon and already contains the libusb libraries needed for this addon to work across platforms.

Resolution and Framerate



The current drivers support the following resolutions and framerates:

ResolutionFrame RateNotes
640x48060 Hz
640x48050 Hz
640x48040 Hz
640x48030 Hz
640x48015 Hz
320x240205 Hz_Experimental_
320x240187 Hz_Experimental_
320x240150 Hz
320x240137 Hz
320x240125 Hz
320x240100 Hz
320x24075 Hz
320x24060 Hz
320x24050 Hz
320x24037 Hz
320x24030 Hz


If you specify a resolution larger than 640 x 480, it will default to 640x480.

If you specify a resolution less than 640 x 480, it will default to 320 x 240.

Frame rates greater than noted above will default to the next slowest valid frame rate.

In order to use this on Linux, the kernel driver must be disabled to avoid conflicts between the kernel driver and libusb. One way to disable this is to issue this command after plugging in all of the devices:

sudo modprobe -r gspca_ov534


A preferred method would be to disable udev rules for the PS3Eye came to avoid loading the kernel extensions in the first place.

Get this addon

HTTPS
SSH