libeblearntools
|
#include <pascalfull_dataset.h>
Public Member Functions | |
pascalfull_dataset (const char *name, const char *inroot, const char *outdir, const char *annotations) | |
virtual | ~pascalfull_dataset () |
Destructor. |
The pascalfull_dataset class extracts full images instead of bounding boxes and saves each image into the outdir. It does not compile the images since they have no labels. This is useful if one wants to use the full original images of pascal but exclude some classes, adding those images as a background class into another dataset and then calling the regular dataset compiler.
ebl::pascalfull_dataset< Tdata >::pascalfull_dataset | ( | const char * | name, |
const char * | inroot, | ||
const char * | outdir, | ||
const char * | annotations | ||
) |
Initialize the dataset's name and other internal variables, but does not allocate data matrices, user must call alloc for that effect. outdims are the target output dimensions of each sample. inroot is the root directory from which we extract data.