\setlength{\columnsep}{2pt}
\begin{center}
- \Large{\textbf{OpenCV 2.3 Cheat Sheet (C++)}} \\
+ \Large{\textbf{OpenCV 2.4 Cheat Sheet (C++)}} \\
\end{center}
\newlength{\MyLen}
\settowidth{\MyLen}{\texttt{letterpaper}/\texttt{a4paper} \ }
Check the `Android SDK System Requirements
<http://developer.android.com/sdk/requirements.html>`_ document for a list of Eclipse versions that are compatible with the Android SDK.
- For OpenCV 2.3.1 we recommend Eclipse 3.7 (Indigo) or Eclipse 3.6 (Helios). They work well for OpenCV under both Windows and Linux.
+ For OpenCV 2.4.1 we recommend Eclipse 3.6 (Helios) or later versions. They work well for OpenCV under both Windows and Linux.
If you have no Eclipse installed, you can download it from this location:
.. code-block:: bash
- tar -jxvf ~/Downloads/OpenCV-2.3.1-android-bin.tar.bz2
+ tar -jxvf ~/Downloads/OpenCV-2.4.0-android-bin.tar.bz2
For this tutorial I have unpacked OpenCV to the :file:`C:\\Work\\android-opencv\\` directory.
-.. |opencv_android_bin_pack| replace:: OpenCV-2.3.1-android-bin.tar.bz2
-.. _opencv_android_bin_pack_url: http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.3.1/OpenCV-2.3.1-android-bin.tar.bz2/download
+.. |opencv_android_bin_pack| replace:: OpenCV-2.4.0-android-bin.tar.bz2
+.. _opencv_android_bin_pack_url: http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.4.0/OpenCV-2.4.0-android-bin.tar.bz2/download
.. |opencv_android_bin_pack_url| replace:: |opencv_android_bin_pack|
.. |seven_zip| replace:: 7-Zip
.. _seven_zip: http://www.7-zip.org/
Required packages
==================
- * GCC 4.x or later. This can be installed with
+ * GCC 4.4.x or later. This can be installed with
.. code-block:: bash
* CMake 2.6 or higher
* Subversion (SVN) client
- * GTK+2.x or higher, including headers
+ * GTK+2.x or higher, including headers (libgtk2.0-dev)
* pkgconfig
- * libpng, zlib, libjpeg, libtiff, libjasper with development files (e.g. libpjeg-dev)
- * Python 2.3 or later with developer packages (e.g. python-dev)
- * SWIG 1.3.30 or later (only for versions prior to OpenCV 2.3)
- * libavcodec
- * libdc1394 2.x
+ * Python 2.6 or later and Numpy 1.5 or later with developer packages (python-dev, python-numpy)
+ * ffmpeg or libav development packages: libavcodec-dev, libavformat-dev, libswscale-dev
+ * [optional] libdc1394 2.x
+ * [optional] libjpeg-dev, libpng-dev, libtiff-dev, libjasper-dev.
All the libraries above can be installed via Terminal or by using Synaptic Manager
\r
1. Open up a web browser and go to: http://sourceforge.net/projects/opencvlibrary/files/opencv-win/\r
\r
-#. Open the folder for the latest version (currently this is 2.3).\r
+#. Open the folder for the latest version (currently this is 2.4).\r
\r
#. Choose a build you want to use and download it. The naming conventions used will show what kind of support they offer. For example:\r
\r
\r
.. container:: enumeratevisibleitemswithsquare\r
\r
- + stable and tested build - http://code.opencv.org/svn/opencv/branches/2.3 (the number at the end will change with every new realease, so change it to that)\r
+ + stable and tested build - http://code.opencv.org/svn/opencv/branches/2.4 (the number at the end will change with every new realease, so change it to that)\r
+ development build - http://code.opencv.org/svn/opencv/trunk/\r
\r
While the later one may contain a couple of new and experimental algorithms, performance increases and interface improvements, be aware, that it may also contain many-many bugs. Using the first one is recommended in most of the cases. That is unless you are extending the OpenCV library itself or really need to most up to date version of it. \r