Turi Create
4.0
|
#include <ml/neural_net/image_augmentation.hpp>
Classes | |
struct | crop_options |
struct | options |
struct | pad_options |
struct | result |
Public Member Functions | |
virtual const options & | get_options () const =0 |
virtual result | prepare_images (std::vector< labeled_image > source_batch)=0 |
Pure virtual interface for objects that process/augment/mutate images and their associated annotations.
Definition at line 86 of file image_augmentation.hpp.
|
pure virtual |
Returns the options parameterizing this instance.
Implemented in turi::neural_net::float_array_image_augmenter.
|
pure virtual |
Performs augmentation on a batch of images (and their annotations).
If the source batch is smaller than the batch size specified in the options, then the result is padded with zeroes as needed.
Implemented in turi::neural_net::float_array_image_augmenter.