Skip to content

lincolnhard/v4l2-framebuffer

Repository files navigation

v4l2_framebuffer

Maps the frames from a camera to the display framebuffer.

To check the supported resolutions:

$ v4l2-ctl --list-formats-ext

By default, 640x480 is used. You can specify the resolution via commandline paramters.
The first parameters will be the width, the second one will be the height.

To change your desired resolution, edit macro IM_WIDTH, IM_HEIGHT inside video_capture.h

Press q, followed by a press of return, to quit.

This was borrowed from OpenCV's waitKey function.

Example

About

Map frame from USB camera to Linux framebuffer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published