#include "Utils.h"
#include <cctype>
#include <cerrno>
#include <iomanip>
#include <string>
#include "stb/stb_image.h"
Go to the source code of this file.
|
int | run_example (int argc, char **argv, std::unique_ptr< Example > example) |
| Run an example and handle the potential exceptions it throws. More...
|
|
void | draw_detection_rectangle (arm_compute::ITensor *tensor, const arm_compute::DetectionWindow &rect, uint8_t r, uint8_t g, uint8_t b) |
| Draw a RGB rectangular window for the detected object. More...
|
|
ImageType | get_image_type_from_file (const std::string &filename) |
| Gets image type given a file. More...
|
|
std::tuple< unsigned int, unsigned int, int > | parse_ppm_header (std::ifstream &fs) |
| Parse the ppm header from an input file stream. More...
|
|
std::tuple< std::vector< unsigned long >, bool, std::string > | parse_npy_header (std::ifstream &fs) |
| Parse the npy header from an input file stream. More...
|
|
uint64_t | get_mem_free_from_meminfo () |
| This function returns the amount of memory free reading from /proc/meminfo. More...
|
|
◆ STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION |