24.02.1
|
#include "Utils.h"
#include <cctype>
#include <cerrno>
#include <iomanip>
#include <string>
#include "stb/stb_image.h"
Go to the source code of this file.
Namespaces | |
arm_compute | |
Copyright (c) 2017-2024 Arm Limited. | |
arm_compute::utils | |
Macros | |
#define | STB_IMAGE_IMPLEMENTATION |
Functions | |
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... | |
npy::header_t | 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... | |