O'Reilly logo

Intel® Galileo and Intel® Galileo Gen 2: API Features and Arduino Projects for Linux Programmers by Manoel Carlos Ramon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

APPENDIX D

image

Picture Grabber

Listing D-1 provides the complete code discussed in the “A Program to Capture Images” section in Chapter 7. The parts required by webcam C270 are highlighted in bold.

Listing D-1. picture_grabber.c

/* V4L2 video picture grabber   Copyright (C) 2009 Mauro Carvalho Chehab <mchehab@infradead.org>   This program is free software; you can redistribute it and/or modify   it under the terms of the GNU General Public License as published by   the Free Software Foundation version 2 of the License.   This program is distributed in the hope that it will be useful,   but WITHOUT ANY WARRANTY; without even the implied warranty of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required