|
OCR Project
|
Arguments passed to each loader thread. More...

Public Attributes | |
| const char * | dir_path |
| int | label |
| Sample * | buf |
| size_t | buf_cap |
| size_t | n_loaded |
Arguments passed to each loader thread.
| Sample* LoaderArgs::buf |
Pre-allocated buffer to write samples to.
| size_t LoaderArgs::buf_cap |
Capacity of buf (max samples to write).
| const char* LoaderArgs::dir_path |
Directory to scan for images.
| int LoaderArgs::label |
Class label (0–25) for all images in dir.
| size_t LoaderArgs::n_loaded |
Filled by thread: actual samples written.