Compiling error cv::gpu

前端 未结 2 844
我在风中等你
我在风中等你 2020-12-15 09:50

I\'m using OpenCV master branch (3.0.0. dev) with CUDA on Ubuntu 12.04, and trying to compile the following opencv with gpu code:

#include 
#         


        
2条回答
  •  难免孤独
    2020-12-15 10:21

    Ah, they've been playing with the constants in master. Expect the CV_* prefix removed almost anywhere ( except the types, CV_8U and such are still alive).

    So it's cv::THRESH_BINARY, cv::LOAD_IMAGE_GRAYSCALE, but .... cv::COLOR_BGR2GRAY (you didn't use it now, but i'll spare you the searching ;) )

    Sorry, I've no experience with GPU stuff, so i can't solve the last riddle there.

提交回复
热议问题