mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
fixed gpu module compilation
This commit is contained in:
@@ -124,12 +124,12 @@ int main(int argc, char** argv)
|
||||
{
|
||||
if (string(argv[i]) == "--left")
|
||||
{
|
||||
left = imread(argv[++i], CV_LOAD_IMAGE_GRAYSCALE);
|
||||
left = imread(argv[++i], cv::IMREAD_GRAYSCALE);
|
||||
CV_Assert(!left.empty());
|
||||
}
|
||||
else if (string(argv[i]) == "--right")
|
||||
{
|
||||
right = imread(argv[++i], CV_LOAD_IMAGE_GRAYSCALE);
|
||||
right = imread(argv[++i], cv::IMREAD_GRAYSCALE);
|
||||
CV_Assert(!right.empty());
|
||||
}
|
||||
else if (string(argv[i]) == "--help")
|
||||
|
||||
Reference in New Issue
Block a user