JeVois  1.6
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
jevois-camtest.C File Reference
#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/highgui/highgui.hpp>
#include <jevois/Util/Utils.H>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for jevois-camtest.C:

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[])
 Main daemon that grabs video frames from the camera, sends them to processing, and sends the results out over USB. More...
 

Macro Definition Documentation

◆ NB_BUFFER

#define NB_BUFFER   4

Definition at line 36 of file jevois-camtest.C.

Referenced by main().

◆ USE_RAW_CAMERA

#define USE_RAW_CAMERA

Definition at line 33 of file jevois-camtest.C.

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

Main daemon that grabs video frames from the camera, sends them to processing, and sends the results out over USB.

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::logLevel, NB_BUFFER, jevois::to_string(), jevois::RawImage::width, and XIOCTL.