ACT-CV - Machine Vision for Cognitive Modeling
|
text extraction More...
#include <FrameObserver.h>
Public Member Functions | |
TextObs (bool showWin=false) | |
void | FrameNotify (IplImage *img, int frameNr) |
notification of a new frame More... | |
void | RegionInfoNotify (const std::vector< RegionInfo > ®ions) |
const char * | GetName () const |
the name of the observer More... | |
void | EnterCriticalSection () |
std::vector< ObjectPosition > & | GetData () |
void | LeaveCriticalSection () |
Private Attributes | |
mhthreads::Mutex | mutex |
mutex for the result More... | |
std::vector< ObjectPosition > | lastResult |
the last result More... | |
GCPointer< FrameObs > | win |
int | lastFrameNr |
Additional Inherited Members | |
Private Member Functions inherited from ImageCopy | |
ImageCopy (int divi=1) | |
~ImageCopy () | |
IplImage * | GetCurCopy () |
IplImage * | GetCopy (IplImage *img, int frameNr) |
text extraction
Definition at line 471 of file FrameObserver.h.
TextObs::TextObs | ( | bool | showWin = false ) |
Definition at line 484 of file FrameObserver.h.
References MHDBGMSG.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 527 of file FrameObserver.h.
References mhthreads::Mutex::Enter(), and mutex.
|
virtual |
notification of a new frame
Implements FrameObs.
Definition at line 489 of file FrameObserver.h.
References FrameObs::FrameNotify(), ImageCopy::GetCopy(), lastFrameNr, MHDBGMSG, and win.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 530 of file FrameObserver.h.
References lastResult.
|
virtual |
the name of the observer
This is used to avoid that two instances of the same observer class are added to the observer list.
Implements FrameObs.
Definition at line 523 of file FrameObserver.h.
|
virtual |
Implements ResultSource< ObjectPosition >.
Definition at line 533 of file FrameObserver.h.
References mhthreads::Mutex::Leave(), and mutex.
|
virtual |
Reimplemented from FrameObs.
Definition at line 497 of file FrameObserver.h.
References mhthreads::Mutex::Enter(), lastResult, mhthreads::Mutex::Leave(), MHDBGMSG, and mutex.
|
private |
Definition at line 481 of file FrameObserver.h.
Referenced by FrameNotify().
|
private |
the last result
Definition at line 477 of file FrameObserver.h.
Referenced by GetData(), and RegionInfoNotify().
|
private |
mutex for the result
Definition at line 475 of file FrameObserver.h.
Referenced by EnterCriticalSection(), LeaveCriticalSection(), and RegionInfoNotify().
Definition at line 479 of file FrameObserver.h.
Referenced by FrameNotify().