The structure Darknet::Image is used to store a normalized RGB Darknet image. More...
#include "darknet_image.hpp"
Public Attributes | |
int | c |
channel | |
float * | data |
normalized floats | |
int | h |
height | |
int | w |
width | |
The structure Darknet::Image is used to store a normalized RGB Darknet image.
The format is intended to be used for internal use by Darknet, but there are some situations where it may also be used or referenced externally via the Darknet API.
Moving forward starting with Darknet V3 (August 2024), where possible the emphasis will be to use OpenCV cv::Mat
objects in the external-facing API instead of Darknet::Image.
C
API, which is why it exists this way and not as a class with methods.int Darknet::Image::c |
channel
float* Darknet::Image::data |
normalized floats
int Darknet::Image::h |
height
int Darknet::Image::w |
width