← Back

ofxRPiCameraVideoGrabber

github.com/jvcleave/ofxRPiCameraVideoGrabber · @jvcleave
OF 0.10 Archived Releases Video/Camera

development of ofxRPiCameraVideoGrabber, an addon to control the native Raspberry Pi camera in openFrameworks

88 17 Last commit 7y ago Created 13y ago

Forks

Forks pushed to more recently than jvcleave/ofxRPiCameraVideoGrabber itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

n1ckfg/ofxRPiCameraVideoGrabber by @n1ckfg · ★ 1 · pushed 7y ago

Branches ahead of master

These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.

ofxOMXCamera 48 commits ahead · last commit 8y ago
multipleCameras 1 commit ahead · last commit 8y ago
develop_abandoned 99 commits ahead · last commit 11y ago
remote-ofParam 2 commits ahead · last commit 11y ago

README

STATUS: DEPRECATED, See ofxOMXCamera for future development/releases



Master may be unstable, features untested. See Releases for tested versions

DESCRIPTION:

openFrameworks addon to control the Raspberry Pi Camera Module. This does _not_ provide still camera functionality.

REQUIREMENTS:

openFrameworks .9 or higher Setup Guide Developed with GPU memory set at 256, overclock to medium but 128/default should work as well Desktop Mode (X11 enabled) may work but untested

USAGE:

Clone into your openFrameworks/addons folder Either copy one of the examples into /myApps or add ofxRPiCameraVideoGrabber to the addons.make file in your project

LED Toggling requires gpio program provided via wiringPi $sudo apt-get install wiringpi

The addon works in a few different modes:

# TEXTURE MODE:

Allows the use of:

# NON-TEXTURE MODE (or direct-to screen)

In non-texture mode the camera is rendered directly to the screen. It typically looks a bit faster/cleaner but no other drawing operations can happen.

RECORDING: Recording is available in both texture and non-texture modes

EXAMPLES:



# example-demo-mode

Shows different settings available to tweak the camera exposure, metering, cropping, zooming, filters, mirroring, white balance

# example-direct-mode

Camera turns on and is rendered full screen via OMX acceleration Press the "e" key to toggle through built in filters

# example-direct-mode-transform

Demos cropping, alpha, mirroring of direct display (not camera)

# example-texture-mode

Camera turns on and renders to a texture that is drawn at full screen and a scaled version Press the "e" key to toggle through built in filters

# example-shaders

Basic shader usage with texture-mode Press the "e" key to toggle through built in filters Press the "s" key to toggle shader

# example-saved-settings:

Alternative way to load a camera configuration through a text file

# example-recording:

Recording of video in texture or direct mode

# example-wrapper:

Drop-in replacement for ofVideoGrabber (texture-mode only)

THANKS:

Thanks to @tjormola for sharing his demos and exploration - especially in regards to recording https://github.com/tjormola/rpi-openmax-demos

and thanks to @linuxstb for helping get started with the camera and OpenMax https://github.com/linuxstb/pidvbip



Get this addon

HTTPS
SSH

Latest release

0.10.0 0.10.0 Compatible published 8y ago
Compatible with openFrameworks 0.10.0 and Stretch