Skip to content

Instantly share code, notes, and snippets.

@romicofre
Last active November 8, 2018 13:23
Show Gist options
  • Save romicofre/9530bedf5271ca77b0fb5ba36134cc13 to your computer and use it in GitHub Desktop.
Save romicofre/9530bedf5271ca77b0fb5ba36134cc13 to your computer and use it in GitHub Desktop.
Probando la instalación de OpenCV en Centos
/*
Compile: g++ test.c -o test //para la version de OpenCV 3 +
gcc // deberia servir para OpenCV 2 que usen solo C
*/
#include <stdio.h>
#include "opencv2/core/core.hpp" //New C++ data structures and arithmetic routines
//#include <opencv2/core.hpp> //tambbien sirve
int main(){
printf("OpenCV version: %d.%d\n", CV_MAJOR_VERSION, CV_MINOR_VERSION);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment