Ask Your Question

Tri Nguyen's profile - activity

2014-07-15 02:27:20 -0500 answered a question OpenCv with Cuda on Carma board

Problem solved. Please refer to my blog if you face same issue.

2014-05-21 05:06:21 -0500 asked a question OpenCv with Cuda on Carma board

I have completed compiling opencv for Carma board with Cuda enable.

However when I tried to run a simple code, i always got segmentation errors. But if i just commented out gpu functions, the program run well.

Do you have any ideas about this issue?? Thanks Below is my sample code:

int main (int argc, char* argv[])

{ try { gpu::getCudaEnabledDeviceCount(); Mat src_host = imread("sample.bmp", IMREAD_GRAYSCALE); gpu::GpuMat src,dst;


    //gpu::cvtColor(src, dst, CV_YUV2RGB);


    Mat result_host(src);
catch(const cv::Exception& ex)
    cout <<"Exception happened\n";

return 0;