ark::image::ThumbnailGenerationStage
Defined in header “ark/image/stages/thumbnail_generation_stage.hh”.
This stage will receive camera images on a particular channel (via configuration), and then write out to disk a single thumbnail. It does this by waiting for a fixed number of frames to be received if it doesn’t get to that number by shutdown time, it will write out the most recent image.
Methods
-
ThumbnailGenerationStage(std::string name)
Constructor. -
~ThumbnailGenerationStage()
Destructor, defined in the source file for unique_ptr cleanup. -
void initialize(pipeline::StageInterface & interface)
Called from the executor when we are initialized. -
void shutdown()
Called from the executor when shutdown is requested.