From 741ada451cc7fee1b9a4c3deaec6af87a2af7497 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Mon, 17 Aug 2015 16:31:25 +0000
Subject: [PATCH] Added Darknet reference model
---
src/image.h | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/src/image.h b/src/image.h
index 1506077..b635ff1 100644
--- a/src/image.h
+++ b/src/image.h
@@ -1,18 +1,12 @@
#ifndef IMAGE_H
#define IMAGE_H
-
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <string.h>
#include <math.h>
-#ifdef OPENCV
-#include "opencv2/highgui/highgui_c.h"
-#include "opencv2/imgproc/imgproc_c.h"
-#endif
-
typedef struct {
int h;
int w;
@@ -64,7 +58,7 @@
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 billinear_interpolate(image im, float x, float y, int c);
+float bilinear_interpolate(image im, float x, float y, int c);
image get_image_layer(image m, int l);
--
Gitblit v1.10.0