JeVoisBase  1.3
JeVois Smart Embedded Machine Vision Toolkit Base Modules
Share this page:
JeVoisIntro Class Reference

Simple introduction to JeVois and demo that combines saliency, gist, face detection, and object recognition. More...

Inheritance diagram for JeVoisIntro:
Collaboration diagram for JeVoisIntro:

Public Member Functions

 JeVoisIntro (std::string const &instance)
 Constructor. More...
 
virtual ~JeVoisIntro ()
 Virtual destructor for safe inheritance. More...
 
virtual void postInit () override
 Initialization once parameters are set: More...
 
virtual void process (jevois::InputFrame &&inframe, jevois::OutputFrame &&outframe) override
 Processing function. More...
 
 JeVoisIntro (std::string const &instance)
 Constructor. More...
 
virtual ~JeVoisIntro ()
 Virtual destructor for safe inheritance. More...
 
virtual void postInit () override
 Initialization once parameters are set: More...
 
virtual void process (jevois::InputFrame &&inframe, jevois::OutputFrame &&outframe) override
 Processing function. More...
 
- Public Member Functions inherited from jevois::StdModule
 StdModule (std::string const &instance)
 
virtual ~StdModule ()
 
void sendSerialImg1Dx (unsigned int camw, float x, float size=0.0F, std::string const &id="", std::string const &extra="")
 
void sendSerialStd1Dx (float x, float size=0.0F, std::string const &id="", std::string const &extra="")
 
void sendSerialImg1Dy (unsigned int camh, float y, float size=0.0F, std::string const &id="", std::string const &extra="")
 
void sendSerialStd1Dy (float y, float size=0.0F, std::string const &id="", std::string const &extra="")
 
void sendSerialImg2D (unsigned int camw, unsigned int camh, float x, float y, float w=0.0F, float h=0.0F, std::string const &id="", std::string const &extra="")
 
void sendSerialStd2D (float x, float y, float w=0.0F, float h=0.0F, std::string const &id="", std::string const &extra="")
 
void sendSerialContour2D (unsigned int camw, unsigned int camh, std::vector< cv::Point_< T > > points, std::string const &id="", std::string const &extra="")
 
void sendSerialStd3D (float x, float y, float z, float w=0.0F, float h=0.0F, float d=0.0F, float q1=0.0F, float q2=0.0F, float q3=0.0f, float q4=0.0F, std::string const &id="", std::string const &extra="")
 
void sendSerialStd3D (std::vector< cv::Point3f > points, std::string const &id="", std::string const &extra="")
 
- Public Member Functions inherited from jevois::Module
 Module (std::string const &instance)
 
virtual ~Module ()
 
virtual void process (InputFrame &&inframe)
 
virtual void sendSerial (std::string const &str)
 
virtual void parseSerial (std::string const &str, std::shared_ptr< UserInterface > s)
 
virtual void supportedCommands (std::ostream &os)
 
 JEVOIS_DEFINE_ENUM_CLASS (SerStyle,(Terse)(Normal)(Detail)(Fine)) JEVOIS_DECLARE_PARAMETER(serstyle
 
 JEVOIS_DECLARE_PARAMETER (serprec, unsigned int,"Number of decimal points in standardized serial messages as ""defined in http://jevois.org/doc/UserSerialStyle.html", 0U, ParamCateg)
 
- Public Member Functions inherited from jevois::Component
 Component (std::string const &instance)
 
virtual ~Component ()
 
std::shared_ptr< ComponentgetSubComponent (std::string const &instance) const
 
std::shared_ptr< Comp > addSubComponent (std::string const &instance, Args &&...args)
 
void removeSubComponent (std::shared_ptr< Comp > &component)
 
void removeSubComponent (std::string const &instance, bool warnIfNotFound=true)
 
std::shared_ptr< Comp > getSubComponent (std::string const &instance) const
 
bool isTopLevel () const
 
bool initialized () const
 
std::string const & className () const
 
std::string const & instanceName () const
 
std::vector< std::string > setParamVal (std::string const &paramdescriptor, T const &val)
 
void setParamValUnique (std::string const &paramdescriptor, T const &val)
 
std::vector< std::pair< std::string, T > > getParamVal (std::string const &paramdescriptor) const
 
getParamValUnique (std::string const &paramdescriptor) const
 
std::vector< std::string > setParamString (std::string const &paramdescriptor, std::string const &val)
 
void setParamStringUnique (std::string const &paramdescriptor, std::string const &val)
 
std::vector< std::pair< std::string, std::string > > getParamString (std::string const &paramdescriptor) const
 
std::string getParamStringUnique (std::string const &paramdescriptor) const
 
void freezeParam (std::string const &paramdescriptor)
 
void unFreezeParam (std::string const &paramdescriptor)
 
void freezeAllParams ()
 
void unFreezeAllParams ()
 
std::string descriptor () const
 
void setParamsFromFile (std::string const &filename)
 
std::istream & setParamsFromStream (std::istream &is, std::string const &absfile)
 
void setPath (std::string const &path)
 
std::string absolutePath (std::string const &path="")
 
std::shared_ptr< Comp > addSubComponent (std::string const &instance, Args &&...args)
 
void removeSubComponent (std::shared_ptr< Comp > &component)
 
void removeSubComponent (std::string const &instance, bool warnIfNotFound=true)
 
std::shared_ptr< Comp > getSubComponent (std::string const &instance) const
 
bool isTopLevel () const
 
bool initialized () const
 
std::string const & className () const
 
std::string const & instanceName () const
 
std::vector< std::string > setParamVal (std::string const &paramdescriptor, T const &val)
 
void setParamValUnique (std::string const &paramdescriptor, T const &val)
 
std::vector< std::pair< std::string, T > > getParamVal (std::string const &paramdescriptor) const
 
getParamValUnique (std::string const &paramdescriptor) const
 
std::vector< std::string > setParamString (std::string const &paramdescriptor, std::string const &val)
 
void setParamStringUnique (std::string const &paramdescriptor, std::string const &val)
 
std::vector< std::pair< std::string, std::string > > getParamString (std::string const &paramdescriptor) const
 
std::string getParamStringUnique (std::string const &paramdescriptor) const
 
void freezeParam (std::string const &paramdescriptor)
 
void unFreezeParam (std::string const &paramdescriptor)
 
void freezeAllParams ()
 
void unFreezeAllParams ()
 
std::string descriptor () const
 
void setParamsFromFile (std::string const &filename)
 
std::istream & setParamsFromStream (std::istream &is, std::string const &absfile)
 
void setPath (std::string const &path)
 
std::string absolutePath (std::string const &path="")
 
- Public Member Functions inherited from jevois::ParameterRegistry
virtual ~ParameterRegistry ()
 

Protected Attributes

std::shared_ptr< SaliencyitsSaliency
 
std::shared_ptr< FaceDetectoritsFaceDetector
 
std::shared_ptr< ObjectRecognitionBaseitsObjectRecognition
 
std::shared_ptr< Kalman2DitsKF
 
std::shared_ptr< BufferedVideoReaderitsVideo
 
jevois::RawImage itsBanner
 
std::string itsScoresStr
 

Additional Inherited Members

- Protected Member Functions inherited from jevois::Component
virtual void preInit ()
 
virtual void preUninit ()
 
virtual void postUninit ()
 
virtual void preInit ()
 
virtual void preUninit ()
 
virtual void postUninit ()
 
- Protected Member Functions inherited from jevois::ParameterRegistry
void addParameter (ParameterBase *const param)
 
void removeParameter (ParameterBase *const param)
 
void callbackInitCall ()
 

Detailed Description

Simple introduction to JeVois and demo that combines saliency, gist, face detection, and object recognition.

This module plays an introduction movie, and then launches the equivalent of DemoSalGistFaceObj, but with some added text messages that explain what is going on on the screen.

Try it and follow the instructions on screen!

Author
Laurent Itti
Display Name:
JeVois Intro
Videomapping:
YUYV 640 360 50.0 YUYV 320 240 50.0 JeVois JeVoisIntro
Videomapping:
YUYV 640 480 50.0 YUYV 320 240 50.0 JeVois JeVoisIntro
Email:
itti@usc.edu
Address:
University of Southern California, HNB-07A, 3641 Watt Way, Los Angeles, CA 90089-2520, USA
Main URL:
http://jevois.org
Support URL:
http://jevois.org/doc
Other URL:
http://iLab.usc.edu
License:
GPL v3
Distribution:
Unrestricted
Restrictions:
None

Definition at line 433 of file JeVoisIntro-new.C.

Constructor & Destructor Documentation

JeVoisIntro::JeVoisIntro ( std::string const &  instance)
inline

Constructor.

Definition at line 437 of file JeVoisIntro-new.C.

References itsFaceDetector, itsKF, itsObjectRecognition, itsSaliency, and itsVideo.

virtual JeVoisIntro::~JeVoisIntro ( )
inlinevirtual

Virtual destructor for safe inheritance.

Definition at line 447 of file JeVoisIntro-new.C.

JeVoisIntro::JeVoisIntro ( std::string const &  instance)
inline

Constructor.

Definition at line 124 of file JeVoisIntro.C.

References itsFaceDetector, itsKF, itsObjectRecognition, itsSaliency, and itsVideo.

virtual JeVoisIntro::~JeVoisIntro ( )
inlinevirtual

Virtual destructor for safe inheritance.

Definition at line 134 of file JeVoisIntro.C.

Member Function Documentation

virtual void JeVoisIntro::postInit ( )
inlineoverridevirtual
virtual void JeVoisIntro::postInit ( )
inlineoverridevirtual

Member Data Documentation

jevois::RawImage JeVoisIntro::itsBanner
protected

Definition at line 785 of file JeVoisIntro-new.C.

Referenced by postInit(), and process().

std::shared_ptr< FaceDetector > JeVoisIntro::itsFaceDetector
protected

Definition at line 781 of file JeVoisIntro-new.C.

Referenced by JeVoisIntro(), and process().

std::shared_ptr< Kalman2D > JeVoisIntro::itsKF
protected

Definition at line 783 of file JeVoisIntro-new.C.

Referenced by JeVoisIntro(), and process().

std::shared_ptr< ObjectRecognitionBase > JeVoisIntro::itsObjectRecognition
protected

Definition at line 782 of file JeVoisIntro-new.C.

Referenced by JeVoisIntro(), and process().

std::shared_ptr< Saliency > JeVoisIntro::itsSaliency
protected

Definition at line 780 of file JeVoisIntro-new.C.

Referenced by JeVoisIntro(), and process().

std::string JeVoisIntro::itsScoresStr
protected

Definition at line 786 of file JeVoisIntro-new.C.

Referenced by process().

std::shared_ptr< BufferedVideoReader > JeVoisIntro::itsVideo
protected

Definition at line 784 of file JeVoisIntro-new.C.

Referenced by JeVoisIntro(), and process().


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