Ask Your Question

wonwoolee's profile - activity

2017-06-06 12:42:11 -0600 received badge  Taxonomist
2013-04-22 17:56:03 -0600 asked a question OpenCL example failed on Mac OS X 10.8.3

I installed OpenCV 2.4.5 with OpenCL support from Macports, and Installation was successful.

When I tried to run the sample 'square', it failed with the following error:

OpenCV Error: Assertion failed (localThreads[0] * localThreads[1] * localThreads[2] <= kernelWorkGroupSize) in openCLVerifyKernel

I tried it on both CPU and GPU of my macbook pro retina 15 inch, but never succeed to run it. It seems that most of cv::ocl functions cause errors. Anybody could run the example, even on MS Windows ?

2013-03-21 17:15:24 -0600 asked a question OpenCV 2.4.4 highgui problem on MAC OS X 10.8

Hello.

I installed OpenCV 2.4.4 from MacPorts. Build was successful, but when I build a test code that shows an image in a namedWindow, there is a link error with highgui.

Doing matrix multiplication in core library was successful, but only highgui causes link errors.

Is there any reported problem in 2.4.4 when we use it on MAC OS X 10.8 ?

2012-08-06 08:54:11 -0600 asked a question Speed of the OpenCV iOS framework ?

Hello.

Last time I tried the iOS framework based on the shell script included in the OpenCV source distribution, my app becomes very slow since the framework was built in the debug mode.

I wonder whether the official release is also suffered from it or not.

Have anyone tested the speed of official release iOS framework ? Is it possible to build an App in the release mode ?

I'm asking this question because I'm not able to test it by myself now....

Thanks in advance.

2012-07-19 06:38:18 -0600 received badge  Notable Question (source)
2012-07-19 06:12:27 -0600 received badge  Editor (source)
2012-07-19 06:11:43 -0600 received badge  Scholar (source)
2012-07-19 06:11:06 -0600 answered a question Error when importing the iOS framework

Thanks, guys. I solved the problem.

It seems that all the files in a project should be C++. (using *.mm and *.cpp)

If there are some *.m or *.c files, the namespace errors occur in my project.

Anybody knows about this issue ?

2012-07-19 06:08:25 -0600 received badge  Popular Question (source)
2012-07-19 06:08:20 -0600 answered a question Error when importing the iOS framework

The files in the project seems to be C++ all the time.

If I include .m or .c files the namespace problem occurs..

2012-07-17 18:22:35 -0600 received badge  Student (source)
2012-07-16 11:48:55 -0600 asked a question Error when importing the iOS framework

Hello.

I downloaded the official version of iOS framework from the link on opencv.org.

I created a simple view-based XCODE project and added the opencv2.framework in the build phases menu.

Then I imported opencv2.framework as

#import "opencv2/opencv.hpp"
in the *.pch file.

When I ran build, some error occurs like these:

/Users/wlee/Downloads/opencv2.framework/Versions/A/Headers/video/background_segm.hpp
Unknown type name 'namespace'
Expected ';' after top level declarator
/Users/wlee/Downloads/opencv2.framework/Versions/A/Headers/objdetect/objdetect.hpp
Unknown type name 'CvHaarFeature'

Did I do anything wrong ?