libVision  1.0
A vision library made by FRC team #4529
Public Member Functions | List of all members
CamFeed Class Reference

Camera/URI feed. More...

#include <CamFeed.h>

Inheritance diagram for CamFeed:

Public Member Functions

 CamFeed (const char *feedPath)
 CamFeed URI constructor. More...
 
 CamFeed (int camIndex)
 CamFeed USB camera constructor. More...
 
virtual ~CamFeed ()
 CamFeed destructor. More...
 

Detailed Description

Camera/URI feed.

Provides a camera source.

Constructor & Destructor Documentation

CamFeed::CamFeed ( const char *  feedPath)

CamFeed URI constructor.

Opens up the CamFeed for capture from a specified file path or URI.

Parameters
feedPathURI/full path of the input file/URI/
Note
For a axis IP camera, try using:
http://<USERNAME>:<PASSWORD>@<IP>:<PORT>/axis-cgi/mjpg/video.cgi?resolution=320x240&fps=30&compression=25
See section 2 of http://www.axis.com/files/manuals/vapix_video_streaming_52937_en_1307.pdf for details.
CamFeed::CamFeed ( int  camIndex)

CamFeed USB camera constructor.

Parameters
camIndexIndex of /dev/videoX for camera to use.
CamFeed::~CamFeed ( )
virtual

CamFeed destructor.


The documentation for this class was generated from the following files: