ACT-CV - Machine Vision for Cognitive Modeling
|
a FrameSource that wraps OpenCVs CvCapture More...
#include <OpenCVFrameSource.h>
Public Member Functions | |
~OpenCVFrameSource () | |
IplImage * | GetNextFrame () |
int | GetFrameNr () const |
double | GetFPS () const |
frames per second More... | |
![]() | |
virtual | ~FrameSource () |
virtual size_t | GetNumInfos () const |
virtual const RegionInfo & | GetInfo (size_t idx) const |
![]() | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
Static Public Member Functions | |
static OpenCVFrameSource * | CameraSourceFactory (int i) |
static OpenCVFrameSource * | FileSourceFactory (const char *fn) |
Private Member Functions | |
OpenCVFrameSource (CvCapture *c) | |
Private Attributes | |
CvCapture * | capture |
int | n |
a FrameSource that wraps OpenCVs CvCapture
Definition at line 34 of file OpenCVFrameSource.h.
|
private |
Definition at line 37 of file OpenCVFrameSource.cpp.
References capture, and MHDBGMSG.
Referenced by CameraSourceFactory(), and FileSourceFactory().
OpenCVFrameSource::~OpenCVFrameSource | ( | ) |
Definition at line 46 of file OpenCVFrameSource.cpp.
References capture.
|
static |
Definition at line 62 of file OpenCVFrameSource.cpp.
References OpenCVFrameSource().
Referenced by main(), and SelectSourceInternal().
|
static |
Definition at line 67 of file OpenCVFrameSource.cpp.
References OpenCVFrameSource().
Referenced by main(), and SelectSourceInternal().
|
virtual |
frames per second
Reimplemented from FrameSource.
Definition at line 47 of file OpenCVFrameSource.h.
References capture.
|
virtual |
|
virtual |
Implements FrameSource.
Definition at line 50 of file OpenCVFrameSource.cpp.
|
private |
Definition at line 35 of file OpenCVFrameSource.h.
Referenced by GetFPS(), GetNextFrame(), OpenCVFrameSource(), and ~OpenCVFrameSource().
|
private |
Definition at line 37 of file OpenCVFrameSource.h.
Referenced by GetFrameNr(), and GetNextFrame().