GSLAM
3.0.0
|
Public Types | |
typedef std::vector< std::string > | StrVec |
Public Member Functions | |
Dataset (const std::string &dataset) | |
std::string | name () const |
virtual std::string | type () const |
virtual bool | isOpened () |
virtual FramePtr | grabFrame () |
virtual bool | open (const std::string &dataset) |
virtual bool | isLive () const |
Public Member Functions inherited from GObject | |
virtual void | call (const std::string &command, void *arg=NULL) |
virtual void | draw () |
virtual bool | toByteArray (std::vector< uchar > &array) |
virtual bool | fromByteArray (std::vector< uchar > &array) |
Protected Attributes | |
std::string | _name |
DatasetPtr | _impl |
The Dataset class.
Here is a little demo to implement an OpenCV monocular Dataset
Compile this file as a shared library with name "gslamDB_cvmono", or compile this file along with the excutable file. It would be very easy to use the dataset: