Go to the source code of this file.
|
using | example = void(int argc, const char **argv) |
| Signature of an example to run. More...
|
|
|
int | run_example (int argc, const char **argv, example &func) |
| Run an example and handle the potential exceptions it throws. More...
|
|
void | draw_detection_rectangle (ITensor *tensor, const DetectionWindow &rect, uint8_t r, uint8_t g, uint8_t b) |
| Draw a RGB rectangular window for the detected object. More...
|
|
std::tuple< unsigned int, unsigned int, int > | parse_ppm_header (std::ifstream &fs) |
| Parse the ppm header from an input file stream. More...
|
|
template<typename T > |
void | save_to_ppm (T &tensor, const std::string &ppm_filename) |
| Template helper function to save a tensor image to a PPM file. More...
|
|