This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
http://benjithian.sg/2012/12/load-image-from-memoryweb-using-opencv-and-libcurl/ | |
I just started playing around with OpenCV and wanted it to display images directly from memory loaded from a website URL. | |
Below is the C++ codes to load an image directly from a website without it being written to the hard disk. | |
Library used were OpenCV and Libcurl. Do tell me if there is a more efficient way to do it. | |
*/ | |
#include <stdio.h> | |
#include <curl/curl.h> | |
#include <sstream> | |
#include <iostream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This is the original elf.h file from the GNU C Library; I only removed | |
the inclusion of feature.h and added definitions of __BEGIN_DECLS and | |
__END_DECLS as documented in | |
https://cmd.inp.nsk.su/old/cmd2/manuals/gnudocs/gnudocs/libtool/libtool_36.html | |
On macOS, simply copy the file to /usr/local/include/. | |
Mathias Lafeldt <[email protected]> */ | |
/* This file defines standard ELF types, structures, and macros. |
NewerOlder