lincolnhard / v4l2-framebuffer

Map frame from USB camera to Linux framebuffer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C 91.6%Language:Makefile 8.4%