Last active
November 8, 2018 13:23
-
-
Save romicofre/9530bedf5271ca77b0fb5ba36134cc13 to your computer and use it in GitHub Desktop.
Probando la instalación de OpenCV en Centos
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
| /* | |
| 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