CLAHE Python bindings
[profile/ivi/opencv.git] / doc / tutorials / introduction / ios_install / ios_install.rst
1 .. _iOS-Installation:
2
3 Installation in iOS
4 *******************
5
6 Required Packages
7 =================
8
9   * CMake 2.8.8 or higher
10   * Xcode 4.2 or higher
11
12 Getting the Cutting-edge OpenCV from Git Repository
13 ---------------------------------------------------
14
15 Launch GIT client and clone OpenCV repository from `here <http://github.com/itseez/opencv>`_
16
17 In MacOS it can be done using the following command in Terminal:
18
19 .. code-block:: bash
20
21    cd ~/<my_working _directory>
22    git clone https://github.com/Itseez/opencv.git
23  
24
25 Building OpenCV from Source, using CMake and Command Line
26 =========================================================
27
28 #. Make symbolic link for Xcode to let OpenCV build scripts find the compiler, header files etc.
29
30     .. code-block:: bash
31     
32        cd /
33        sudo ln -s /Applications/Xcode.app/Contents/Developer Developer
34        
35 #. Build OpenCV framework:
36
37     .. code-block:: bash
38
39        cd ~/<my_working_directory>
40        python opencv/ios/build_framework.py ios
41
42 If everything's fine, a few minutes later you will get ~/<my_working_directory>/ios/opencv2.framework. You can add this framework to your Xcode projects.
43
44 Further Reading
45 ===============
46 You can find several OpenCV+iOS tutorials here :ref:`Table-Of-Content-iOS`.