mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
gonna fuck shit up
This commit is contained in:
@ -605,6 +605,7 @@ image load_image_color(char *filename, int w, int h)
|
||||
image out = ipl_to_image(src);
|
||||
cvReleaseImage(&src);
|
||||
if((h && w) && (h != out.h || w != out.w)){
|
||||
//printf("resize\n");
|
||||
image resized = resize_image(out, w, h);
|
||||
free_image(out);
|
||||
out = resized;
|
||||
|
Reference in New Issue
Block a user