mirror of
https://github.com/eclipse/upm.git
synced 2025-07-30 07:31:06 +03:00
vcap: Initial implementation
This UPM module captures a still frame from a Linux V4L device, such as a USB webcam, and and then allows you to save it as a JPEG image into a file. The camera and driver in use must support streaming, mmap-able buffers and must provide data in YUYV format. This should encompass most video cameras out there. It has been tested with a few off the shelf USB cameras without any problems. Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
bf7d7d1bda
commit
4f6be750c7
14
src/vcap/pyupm_vcap.i
Normal file
14
src/vcap/pyupm_vcap.i
Normal file
@@ -0,0 +1,14 @@
|
||||
// Include doxygen-generated documentation
|
||||
%include "pyupm_doxy2swig.i"
|
||||
%module pyupm_vcap
|
||||
%include "../upm.i"
|
||||
%include "std_string.i"
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%include "vcap.hpp"
|
||||
%{
|
||||
#include "vcap.hpp"
|
||||
%}
|
||||
|
||||
|
Reference in New Issue
Block a user