Posted on : 02-04-2009 | By : rhondasw | In : OpenCV
This time OpenCV was ported to the Apple iPhone platform.
First of all we need to compile OpenCV library itself so that it can be used on the iPhone. There are two ways here:
1. Use OpenCV as a private framework.
2. Compile OpenCV as a static library.
First approach looks more comfortable for using, though I was not able to make it work properly on the iPhone (it works fine on the simulator, but not on the real hardware).
But anyway, let’s see how both approaches can be followed.
Posted on : 31-03-2009 | By : rhondasw | In : OpenCV
Here is a brief description of compiling and running OpenCV’s facedetect sample on Pocket PC.
I used Visual Studio 2005 Team Suite edition to compile OpenCV 1.1 pre 1. It compiled without any trouble for Win32.
Then I tried to compile for Pocket PC (set Platform to Pocket PC 2003 (ARMV4)). Some compilation errors occured. As I only needed to compile a facedetect sample, I decided to compile the necessary files only.
Posted on : 18-03-2009 | By : Yuri Vashchenko | In : OpenCV
Compiling OpenCV part 2
Compiling without profiling
This time I compiled OpenCV library on Debian Linux installation.
I used VMWare 6.5 and Debian OS linux distribution.
I setup Virtual Machine to allocate 10GB hard drive space and 512 MB of system memory.
I setup the latest version of CodeSourcery G++ toolchain (version arm-2008q3-72-arm-none-linux-gnueabi) downloaded from http://www.codesourcery.com/sgpp/lite/arm. The installation dir was /opt/crosstool/codesourcery
Posted on : 12-03-2009 | By : Igor Stepura | In : OpenCV
I played with two ARM9-based single board computers (SBC) recently to investigate how OpenCV would operate on embedded platforms. The SBCs are – TS-7800 and SBC2440-III.
OpenCV uses floating point operations a lot, but not all of the ARM processors have FP coprocessor, so developers should use either some FP library, or as in my case – use Linux kernel FP emulation. There are two types of such emulation OABI and EABI. More details can be found here and here. Kernel release 2.6.16 was the first one to include ARM EABI support.
Unfortunately, CPUs of both SBCs do not support floating point in hardware, but luckily enough, TS-7800 has Debian Linux with 2.6.21 kernel. So I had a chance to compare OpenCV performance for OABI and EABI.
Both SBCs have necessary tool-chains in package – TS-7800 has Linux and Windows(Cygwin) tool-chains, SBC-2440 – only Linux one. In addition to these I downloaded newer release of Codesourcery ARM tool-chain for Windows, because the one from TS-7800 SW package didn’t work properly with Cygwin.