From c7a700dc2249e8bd3a2c9120dfd09240e413c8bd Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sat, 05 Nov 2016 21:09:21 +0000 Subject: [PATCH] new font strategy --- src/image.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/image.h b/src/image.h index 7e7ecf6..6e80ac2 100644 --- a/src/image.h +++ b/src/image.h @@ -22,7 +22,7 @@ void draw_bbox(image a, box bbox, int w, float r, float g, float b); void draw_label(image a, int r, int c, image label, const float *rgb); void write_label(image a, int r, int c, image *characters, char *string, float *rgb); -void draw_detections(image im, int num, float thresh, box *boxes, float **probs, char **names, image *labels, int classes); +void draw_detections(image im, int num, float thresh, box *boxes, float **probs, char **names, image **labels, int classes); image image_distance(image a, image b); void scale_image(image m, float s); image crop_image(image im, int dx, int dy, int w, int h); @@ -69,7 +69,7 @@ image copy_image(image p); image load_image(char *filename, int w, int h, int c); image load_image_color(char *filename, int w, int h); -image *load_alphabet(); +image **load_alphabet(); float get_pixel(image m, int x, int y, int c); float get_pixel_extend(image m, int x, int y, int c); -- Gitblit v1.10.0