mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
It's time, to du-du-du-du-DU-DU-DUEL!!
https://www.youtube.com/watch?v=IVmtUK_1jh4
This commit is contained in:
@ -603,12 +603,12 @@ image load_image_color(char *filename, int w, int h)
|
||||
exit(0);
|
||||
}
|
||||
image out = ipl_to_image(src);
|
||||
cvReleaseImage(&src);
|
||||
if((h && w) && (h != out.h || w != out.w)){
|
||||
image resized = resize_image(out, w, h);
|
||||
free_image(out);
|
||||
out = resized;
|
||||
}
|
||||
cvReleaseImage(&src);
|
||||
return out;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user