JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/Core/Camera.H>
#include <jevois/Debug/Log.H>
#include <string.h>
#include <linux/videodev2.h>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/imgcodecs.hpp>
#include <jevois/Util/Utils.H>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Go to the source code of this file.
Macros | |
#define | USE_RAW_CAMERA |
#define | NB_BUFFER 4 |
Functions | |
int | main (int argc, char const *argv[]) |
Grabs video frames from the camera, and write them to disk as PNG files. | |
#define NB_BUFFER 4 |
Definition at line 36 of file jevois-camtest.C.
#define USE_RAW_CAMERA |
Definition at line 33 of file jevois-camtest.C.
int main | ( | int | argc, |
char const * | argv[] | ||
) |
Grabs video frames from the camera, and write them to disk as PNG files.
Definition at line 45 of file jevois-camtest.C.
References jevois::RawImage::buf, jevois::VideoMapping::cfmt, jevois::VideoMapping::cfps, jevois::VideoMapping::ch, jevois::VideoMapping::cw, jevois::RawImage::height, LFATAL, LINFO, jevois::logEnd(), jevois::logLevel, NB_BUFFER, jevois::RawImage::width, and XIOCTL.