class
ImageToBatchGeneratorConverts a stream of images into stream of Batch data objects.
Contents
This is used for doing batch processing on a stream of images.
Base classes
Constructors, destructors, conversion operators
- ~ImageToBatchGenerator() override
Public functions
- auto create(int maxBatchSize) -> std::shared_ptr<ImageToBatchGenerator>
- Create instance.
- void setMaxBatchSize(int size)
- void loadAttributes() override
Protected functions
- void execute() override
- void generateStream() override
Protected variables
Function documentation
std::shared_ptr<ImageToBatchGenerator> fast:: ImageToBatchGenerator:: create(int maxBatchSize)
Create instance.
Parameters | |
---|---|
maxBatchSize | Maximum batch size |
Returns | instance |
void fast:: ImageToBatchGenerator:: generateStream() override protected
The function producing the data stream