mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
432 B
20 lines
432 B
6 years ago
|
#include <iostream>
|
||
|
|
||
|
#include <opencv2/core.hpp>
|
||
|
|
||
|
#include <opencv2/imgcodecs/legacy/constants_c.h>
|
||
|
#include <opencv2/videoio/legacy/constants_c.h>
|
||
|
#include <opencv2/photo/legacy/constants_c.h>
|
||
|
#include <opencv2/video/legacy/constants_c.h>
|
||
|
|
||
|
using namespace cv;
|
||
|
|
||
|
int main(int /*argc*/, const char** /*argv*/)
|
||
|
{
|
||
|
std::cout
|
||
|
<< (int)CV_LOAD_IMAGE_GRAYSCALE
|
||
|
<< (int)CV_CAP_FFMPEG
|
||
|
<< std::endl;
|
||
|
return 0;
|
||
|
}
|