<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Compiling OpenCV for ARM9 platform</title>
	<atom:link href="http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/</link>
	<description>Rhonda Ltd., computer vision software blog</description>
	<lastBuildDate>Thu, 09 Sep 2010 02:00:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Yuri Vashchenko</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-864</link>
		<dc:creator>Yuri Vashchenko</dc:creator>
		<pubDate>Sun, 08 Aug 2010 23:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-864</guid>
		<description>Hi JPN,

We did not use any tools to change doubles to fixed point operation.
We rewrote the big part of opencv manually.

Unfortunately, it had not given significant improvement in performance on our target ARM platform.

So, if you need fixed point operations for your DSP of whatever your target platform is, you will probably have to rewrite a part of opencv code yourself.

Start with running a profiler on your target platform to understand which code takes most of the execution time.
Then, using opencv source code, try to understand how it works and start replacing double precision variables and operations with fixed point ones. In our experiments, we even had been able to rewrite some code to use 32 bit integers only. It affected precision in some cases, but until overall quality is acceptable, you can do such trade-offs.

Hope this helps,

Best regards,
Yuri</description>
		<content:encoded><![CDATA[<p>Hi JPN,</p>
<p>We did not use any tools to change doubles to fixed point operation.<br />
We rewrote the big part of opencv manually.</p>
<p>Unfortunately, it had not given significant improvement in performance on our target ARM platform.</p>
<p>So, if you need fixed point operations for your DSP of whatever your target platform is, you will probably have to rewrite a part of opencv code yourself.</p>
<p>Start with running a profiler on your target platform to understand which code takes most of the execution time.<br />
Then, using opencv source code, try to understand how it works and start replacing double precision variables and operations with fixed point ones. In our experiments, we even had been able to rewrite some code to use 32 bit integers only. It affected precision in some cases, but until overall quality is acceptable, you can do such trade-offs.</p>
<p>Hope this helps,</p>
<p>Best regards,<br />
Yuri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JPN</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-854</link>
		<dc:creator>JPN</dc:creator>
		<pubDate>Wed, 04 Aug 2010 03:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-854</guid>
		<description>I am working on optimizing and compiling components of OpenCV to ARM Cortex A8.  It is very portable in that it will run on many platforms, but it is only set up to run *well* on Intel x86.  ARMs and most other DSPs do not like double precision numbers, for one thing, but with OpenCV we are stuck with double.  The other problem is that OpenCV is difficult to analyze with call graph tools, so it is difficult to extract just the components you need.  I have had no luck with such tools.</description>
		<content:encoded><![CDATA[<p>I am working on optimizing and compiling components of OpenCV to ARM Cortex A8.  It is very portable in that it will run on many platforms, but it is only set up to run *well* on Intel x86.  ARMs and most other DSPs do not like double precision numbers, for one thing, but with OpenCV we are stuck with double.  The other problem is that OpenCV is difficult to analyze with call graph tools, so it is difficult to extract just the components you need.  I have had no luck with such tools.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri Vashchenko</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-795</link>
		<dc:creator>Yuri Vashchenko</dc:creator>
		<pubDate>Sun, 20 Jun 2010 21:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-795</guid>
		<description>Hello, Santosh,
We did not compile OpenCV library for Palm. As for Mobile devices platform, we ported OpenCV on Android and Windows Mobile.

To compile OpenCV for Palm, you need:
1. Cross-compiler that can genrate binaries for your target Palm OS.
2. Standard libraries (like libc) compiled for your target platform.
3. Libraries openCV needs to work ( depending on your application may be GTK, FFMpeg, Libjpeg, etc).

Hope this helps,

Best Regards,
Yuri</description>
		<content:encoded><![CDATA[<p>Hello, Santosh,<br />
We did not compile OpenCV library for Palm. As for Mobile devices platform, we ported OpenCV on Android and Windows Mobile.</p>
<p>To compile OpenCV for Palm, you need:<br />
1. Cross-compiler that can genrate binaries for your target Palm OS.<br />
2. Standard libraries (like libc) compiled for your target platform.<br />
3. Libraries openCV needs to work ( depending on your application may be GTK, FFMpeg, Libjpeg, etc).</p>
<p>Hope this helps,</p>
<p>Best Regards,<br />
Yuri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santosh</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-789</link>
		<dc:creator>Santosh</dc:creator>
		<pubDate>Thu, 17 Jun 2010 09:55:17 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-789</guid>
		<description>is it possible to compile the OpenCV code for Palm mobile device which uses ARM?</description>
		<content:encoded><![CDATA[<p>is it possible to compile the OpenCV code for Palm mobile device which uses ARM?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryce</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-511</link>
		<dc:creator>Bryce</dc:creator>
		<pubDate>Sun, 27 Dec 2009 01:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-511</guid>
		<description>I&#039;m making a robot that will recognize objects like a ball, cup, ect. I have the basic application down, but I need to actually need to test it on the interface to see if it works right. The basic application is it gets image from the camera, loads it into its RAM, analyzing it to find those objects, sends signals to the Arduino for where the servo&#039;s to move.

I have the basic &quot;seeing&quot; application source now.</description>
		<content:encoded><![CDATA[<p>I&#8217;m making a robot that will recognize objects like a ball, cup, ect. I have the basic application down, but I need to actually need to test it on the interface to see if it works right. The basic application is it gets image from the camera, loads it into its RAM, analyzing it to find those objects, sends signals to the Arduino for where the servo&#8217;s to move.</p>
<p>I have the basic &#8220;seeing&#8221; application source now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri Vashchenko</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-509</link>
		<dc:creator>Yuri Vashchenko</dc:creator>
		<pubDate>Fri, 25 Dec 2009 08:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-509</guid>
		<description>Hi Bryce,

Unfortunately, I cannot give you any source code files (including makefiles) as our management restricts it. If you really need any source code please contact our sales/marketing team (consult contacts page for more info).

Anyway, I can probably help you with an advice if you give more details on your project and problems you are facing. How many source code files do you have? Do all your source files compile or you are getting some compiler errors?</description>
		<content:encoded><![CDATA[<p>Hi Bryce,</p>
<p>Unfortunately, I cannot give you any source code files (including makefiles) as our management restricts it. If you really need any source code please contact our sales/marketing team (consult contacts page for more info).</p>
<p>Anyway, I can probably help you with an advice if you give more details on your project and problems you are facing. How many source code files do you have? Do all your source files compile or you are getting some compiler errors?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryce</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-506</link>
		<dc:creator>Bryce</dc:creator>
		<pubDate>Fri, 25 Dec 2009 00:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-506</guid>
		<description>Any chance you will just post up the files needed already followed through instructions. I can&#039;t get past, &quot;Create/Modify Makefiles&quot;. I really need this for my project.</description>
		<content:encoded><![CDATA[<p>Any chance you will just post up the files needed already followed through instructions. I can&#8217;t get past, &#8220;Create/Modify Makefiles&#8221;. I really need this for my project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuri Vashchenko</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-468</link>
		<dc:creator>Yuri Vashchenko</dc:creator>
		<pubDate>Mon, 23 Nov 2009 23:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-468</guid>
		<description>&lt;strong&gt;Hentati&lt;/strong&gt;,

Personally, I have not tried to compile and use the OpenCV library for MicroBlaze or Nios II. Nevertheless, OpenCV library is written to be cross-platform and highly portable. So, if you have a cross compiler for your platform with corresponding platform-specific libraries chances are that OpenCV and your algorithm will compile and work. You may face some problems with Highgui part of the OpenCV library (graphical output, jpeg decoding, etc.), but this is another question.
If your are running Linux on your target platform, I recommend you to use a gcc compiler (such as one included into the CodeSorcery G++ Toolchain) it is available.

As for a specific FPGA - I am not sure I understand your question. Do you need to choose a target board for your application or you have a specific FPGA and you want to know if it will help you running OpenCV algorithms? Choosing a FPGA mostly depends on what algorithm are you going to run on it. Depending on your application, you may want to run a FPGA for a fast fourier transform or convolution on FPGA to reduce the load of your CPU and improve the overall performance.</description>
		<content:encoded><![CDATA[<p><strong>Hentati</strong>,</p>
<p>Personally, I have not tried to compile and use the OpenCV library for MicroBlaze or Nios II. Nevertheless, OpenCV library is written to be cross-platform and highly portable. So, if you have a cross compiler for your platform with corresponding platform-specific libraries chances are that OpenCV and your algorithm will compile and work. You may face some problems with Highgui part of the OpenCV library (graphical output, jpeg decoding, etc.), but this is another question.<br />
If your are running Linux on your target platform, I recommend you to use a gcc compiler (such as one included into the CodeSorcery G++ Toolchain) it is available.</p>
<p>As for a specific FPGA &#8211; I am not sure I understand your question. Do you need to choose a target board for your application or you have a specific FPGA and you want to know if it will help you running OpenCV algorithms? Choosing a FPGA mostly depends on what algorithm are you going to run on it. Depending on your application, you may want to run a FPGA for a fast fourier transform or convolution on FPGA to reduce the load of your CPU and improve the overall performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hentati</title>
		<link>http://www.computer-vision-software.com/blog/2009/03/compiling-opencv-for-arm9-platform-pico/comment-page-1/#comment-462</link>
		<dc:creator>hentati</dc:creator>
		<pubDate>Fri, 20 Nov 2009 10:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://computer-vision-software.com/blog/?p=11#comment-462</guid>
		<description>hi!
please can some one answer me this question
can I use opencv library wilth a microblaze or niosII.?
the algorithm  run in windowsXP
if yes which  fpga should I have? 
best regards</description>
		<content:encoded><![CDATA[<p>hi!<br />
please can some one answer me this question<br />
can I use opencv library wilth a microblaze or niosII.?<br />
the algorithm  run in windowsXP<br />
if yes which  fpga should I have?<br />
best regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>
