|
|
@ -33,7 +33,7 @@ void draw_detections(image im, int num, float thresh, box *boxes, float **probs, |
|
|
|
void draw_detections_v3(image im, detection *dets, int num, float thresh, char **names, image **alphabet, int classes, int ext_output); |
|
|
|
void draw_detections_v3(image im, detection *dets, int num, float thresh, char **names, image **alphabet, int classes, int ext_output); |
|
|
|
image image_distance(image a, image b); |
|
|
|
image image_distance(image a, image b); |
|
|
|
void scale_image(image m, float s); |
|
|
|
void scale_image(image m, float s); |
|
|
|
image crop_image(image im, int dx, int dy, int w, int h); |
|
|
|
// image crop_image(image im, int dx, int dy, int w, int h);
|
|
|
|
image random_crop_image(image im, int w, int h); |
|
|
|
image random_crop_image(image im, int w, int h); |
|
|
|
image random_augment_image(image im, float angle, float aspect, int low, int high, int size); |
|
|
|
image random_augment_image(image im, float angle, float aspect, int low, int high, int size); |
|
|
|
void random_distort_image(image im, float hue, float saturation, float exposure); |
|
|
|
void random_distort_image(image im, float hue, float saturation, float exposure); |
|
|
@ -42,7 +42,7 @@ void random_distort_image(image im, float hue, float saturation, float exposure) |
|
|
|
void fill_image(image m, float s); |
|
|
|
void fill_image(image m, float s); |
|
|
|
void letterbox_image_into(image im, int w, int h, image boxed); |
|
|
|
void letterbox_image_into(image im, int w, int h, image boxed); |
|
|
|
//LIB_API image letterbox_image(image im, int w, int h);
|
|
|
|
//LIB_API image letterbox_image(image im, int w, int h);
|
|
|
|
image resize_min(image im, int min); |
|
|
|
// image resize_min(image im, int min);
|
|
|
|
image resize_max(image im, int max); |
|
|
|
image resize_max(image im, int max); |
|
|
|
void translate_image(image m, float s); |
|
|
|
void translate_image(image m, float s); |
|
|
|
void normalize_image(image p); |
|
|
|
void normalize_image(image p); |
|
|
|