Ask Your Question

raj001's profile - activity

2016-07-27 11:26:57 -0600 received badge  Popular Question (source)
2014-05-10 11:39:14 -0600 asked a question Detect a hand and hand wave gesture in iOS platform

I am trying to detect a hand and hand wave gesture using OpenCV in iOS platform.

Can some one help me how to do this? Any Sample tutorial or sample code also useful.

2013-08-01 05:17:40 -0600 received badge  Student (source)
2013-06-03 08:12:13 -0600 received badge  Editor (source)
2013-06-03 08:11:12 -0600 asked a question OpenCV 2.4 build Failed error while creating iOS framework in Mac

I have followed the following steps to install opencv on my mac. But I am getting a 'Build Failed' message.

What is the solution for this ?


Steps that I have followed:

  1. Create a New Folder OpenCV in Desktop Working Directory.
  2. In Terminal cd /Users/administrator/Desktop/OpenCV
  3. In Terminal git clone https://github.com/Itseez/opencv.git

This results in the cutting edge OpenCV from GIT repository

  1. Now install CMake software
  2. In Terminal cd /
  3. In Terminal sudo ln -s /Applications/Xcode.app/Contents/Developer Developer
  4. In Terminal cd /Users/administrator/Desktop/OpenCV (open working directory)
  5. In Terminal python opencv/ios/build_framework.py ios

Result of this is the build failed message.

The following build commands failed:
    Libtool /Users/administrator/Desktop/OpenCV/ios/build/iPhoneSimulator-i386/modules/world/UninstalledProducts/libopencv_world.a normal i386
(1 failure)
Traceback (most recent call last):
  File "opencv/ios/build_framework.py", line 128, in <module>
    build_framework(os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), "..")), os.path.abspath(sys.argv[1]))
  File "opencv/ios/build_framework.py", line 120, in build_framework
    put_framework_together(srcroot, dstroot)
  File "opencv/ios/build_framework.py", line 88, in put_framework_together
    shutil.copytree(tdir0 + "/install/include/opencv2", dstdir + "/Headers")
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 168, in copytree
    names = os.listdir(src)
OSError: [Errno 2] No such file or directory: '../build/iPhoneOS-armv7/install/include/opencv2'
administrators-iMac-2:OpenCV administrator$