From a0e288f0dca328b8b12592cc19da9bb7c29646f4 Mon Sep 17 00:00:00 2001 From: AlexeyAB <alexeyab84@gmail.com> Date: Mon, 30 Apr 2018 23:17:49 +0000 Subject: [PATCH] Increased speed of darknet.py. Fixed functions related to resize_image(). --- src/image.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/image.h b/src/image.h index 24b8684..ebf28e8 100644 --- a/src/image.h +++ b/src/image.h @@ -77,10 +77,10 @@ YOLODLL_API image load_image_color(char *filename, int w, int h); 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); -void set_pixel(image m, int x, int y, int c, float val); -void add_pixel(image m, int x, int y, int c, float val); +//float get_pixel(image m, int x, int y, int c); +//float get_pixel_extend(image m, int x, int y, int c); +//void set_pixel(image m, int x, int y, int c, float val); +//void add_pixel(image m, int x, int y, int c, float val); float bilinear_interpolate(image im, float x, float y, int c); image get_image_layer(image m, int l); -- Gitblit v1.10.0