An implementation of image fetcher.
More...
#include <image_fetcher.hpp>
|
void | open (const std::string &path) |
| Open file or directory. More...
|
|
void | open_pack (const std::string &path) |
|
void | open (int device_id) |
| Connect to device. More...
|
|
bool | grab () |
| Grabs the next frame from video file or directory. More...
|
|
template<typename pixel_type > |
void | retrieve (Image< pixel_type > &image) |
| Decodes and returns the grabbed video frame or image. More...
|
|
std::string | current_directory () const |
| Get current directory. More...
|
|
An implementation of image fetcher.
std::string auxiliary::image_fetcher::current_directory |
( |
| ) |
const |
|
inline |
bool auxiliary::image_fetcher::grab |
( |
| ) |
|
|
inline |
Grabs the next frame from video file or directory.
void auxiliary::image_fetcher::open |
( |
const std::string & |
path | ) |
|
|
inline |
void auxiliary::image_fetcher::open |
( |
int |
device_id | ) |
|
|
inline |
void auxiliary::image_fetcher::open_pack |
( |
const std::string & |
path | ) |
|
|
inline |
template<typename pixel_type >
void auxiliary::image_fetcher::retrieve |
( |
Image< pixel_type > & |
image | ) |
|
|
inline |
Decodes and returns the grabbed video frame or image.
The documentation for this class was generated from the following file: