i posted this question already in a thread that is 4 years old.
i thought it might be better to start a new one. hope that’s not cross posting
I am trying to use opencv code that uses the gpu with of 0.9.3 on OS X 10.10.5. do we know if the static opencv.a lib for OS X has gpu enabled?
trying to run opencv gpu based code
which causes this compile errors like:
Variable has incomplete type 'gpu::GpuMat'
gpu::HOGDescriptor gpu_hog(cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8),9);
No member named 'gpu::HOGDescriptor' in namespace 'cv::gpu'; did you mean simply 'HOGDescriptor'?
does this simply mean ofxCv does not have these options build in to it’s wrapper? i also started to build opencv3 via brew
brew install opencv3 --with-contrib --with-cuda --with-ffmpeg --with-tbb but was not sure how to link it properly in to OF. simply pointing to the include and lib folder seems not enough.
as suggested here: https://github.com/kylemcdonald/ofxCv/issues/67
here is the openCv example i am hoping to get running: http://answers.opencv.org/question/59304/different-results-of-gpuhogdescriptor-and-cvhogdescriptor/