<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alex Sleat &#187; OpenCV</title>
	<atom:link href="http://alexsleat.co.uk/tag/opencv/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Sat, 04 Feb 2012 22:11:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>FYP &#8211; Pedestrian Detection &#8211; Test 2</title>
		<link>http://alexsleat.co.uk/2011/05/02/fyp-pedestrian-detection-test-2/</link>
		<comments>http://alexsleat.co.uk/2011/05/02/fyp-pedestrian-detection-test-2/#comments</comments>
		<pubDate>Mon, 02 May 2011 12:43:03 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Final Year Project]]></category>
		<category><![CDATA[ann]]></category>
		<category><![CDATA[computer vision]]></category>
		<category><![CDATA[fann]]></category>
		<category><![CDATA[final year project]]></category>
		<category><![CDATA[fyp]]></category>
		<category><![CDATA[human recognition]]></category>
		<category><![CDATA[machine vision]]></category>
		<category><![CDATA[neural networks]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[pedestrian]]></category>
		<category><![CDATA[people detection]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=15627</guid>
		<description><![CDATA[<br/><p></p> <p>The latest version of my final year project, almost complete. It&#8217;s designed to be a pedestrian detection system used in reversing cameras on cars. Possibly more information to come, see here &#8211; projects/finalyearproject/</p> ]]></description>
			<content:encoded><![CDATA[<br/><p><center><iframe width="640" height="510" src="http://www.youtube.com/embed/hwCADEJvpVs?hd=1" frameborder="0" allowfullscreen></iframe></center></p>
<p>The latest version of my final year project, almost complete. It&#8217;s designed to be a pedestrian detection system used in reversing cameras on cars. Possibly more information to come, see here &#8211; <a href="http://alexsleat.co.uk/projects/finalyearproject/">projects/finalyearproject/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/05/02/fyp-pedestrian-detection-test-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Fix &#8220;No accelerated colorspace conversion found from yuv420p to bgr24.&#8221; &#124; OpenCV-2.2.0 &amp; Ubuntu 10.10</title>
		<link>http://alexsleat.co.uk/2011/01/09/how-to-fix-no-accelerated-colorspace-conversion-found-from-yuv420p-to-bgr24-opencv-2-2-0-ubuntu-10-10/</link>
		<comments>http://alexsleat.co.uk/2011/01/09/how-to-fix-no-accelerated-colorspace-conversion-found-from-yuv420p-to-bgr24-opencv-2-2-0-ubuntu-10-10/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 15:13:16 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[2.1]]></category>
		<category><![CDATA[2.2]]></category>
		<category><![CDATA[bgr24]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install guide]]></category>
		<category><![CDATA[machine vision]]></category>
		<category><![CDATA[No accelerated colorspace conversion found from yuv420p to bgr24.]]></category>
		<category><![CDATA[swscaler]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Ubuntu Maverick Meerkat 10.10]]></category>
		<category><![CDATA[yuv420p]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=11307</guid>
		<description><![CDATA[<br/><p>[swscaler @ 0xbf2130]No accelerated colorspace conversion found from yuv420p to bgr24.</p> <p>This problem is basically an issue converting YUV to RGB using ffmpeg, in order for it to work ffmpeg needs to be recompiled with x264. To get around it use the following to recompile ffmpeg and OpenCV 2.1/2.2:</p> Follow steps 1-to-4 of FakeOutdoorsman&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<br/><blockquote><p>[swscaler @ 0xbf2130]No accelerated colorspace conversion found from yuv420p to bgr24.</p></blockquote>
<p>This problem is basically an issue converting YUV to RGB using ffmpeg, in order for it to work ffmpeg needs to be recompiled with x264. To get around it use the following to recompile ffmpeg and OpenCV 2.1/2.2:</p>
<ol>
<li>Follow steps 1-to-4 of FakeOutdoorsman&#8217;s guide on ubuntuforums.org &#8211; <a href="http://ubuntuforums.org/showthread.php?t=786095" target="_blank">here</a></li>
<li>OpenCV 2.1/2.2 Install Guide by Sebastian Montabone - <a href="http://www.samontab.com/web/2010/04/installing-opencv-2-1-in-ubuntu/" target="_blank">here</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/01/09/how-to-fix-no-accelerated-colorspace-conversion-found-from-yuv420p-to-bgr24-opencv-2-2-0-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yet Another OpenCV/Karmic error – symbol lookup error: /usr/local/lib/libhighgui.so.4</title>
		<link>http://alexsleat.co.uk/2010/02/04/yet-another-opencvkarmic-error-symbol-lookup-error-usrlocalliblibhighgui-so-4/</link>
		<comments>http://alexsleat.co.uk/2010/02/04/yet-another-opencvkarmic-error-symbol-lookup-error-usrlocalliblibhighgui-so-4/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 10:08:53 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[libhighgui.so.4]]></category>
		<category><![CDATA[lookup]]></category>
		<category><![CDATA[symbol]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=47</guid>
		<description><![CDATA[<br/><p>symbol lookup error: /usr/local/lib/libhighgui.so.4: undefined symbol: av_free_packet</p> <p>To fix it simply make sure /usr/local/lib is in your library path by using the following command:</p> <p>export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH</p> ]]></description>
			<content:encoded><![CDATA[<br/><p><code>symbol lookup error: /usr/local/lib/libhighgui.so.4: undefined symbol: av_free_packet</code></p>
<p>To fix it simply make sure /usr/local/lib is in your library path by using the following command:</p>
<p><code>export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH</code></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2010/02/04/yet-another-opencvkarmic-error-symbol-lookup-error-usrlocalliblibhighgui-so-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HowTo: Install OpenCV in Ubuntu Karmic (9.10)</title>
		<link>http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/</link>
		<comments>http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 09:50:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[karmic]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=5</guid>
		<description><![CDATA[<br/> <p>Heres how I got OpenCV installed:</p> <p>First install some needed packages</p> <p>sudo apt-get install build-essential libgtk2.0-dev</p> <p>Now you need to grab FFmpeg for the install to work</p> <p>svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg</p> <p>The svn didn’t work for me, probably something to do with the proxy I’m under at Uni so I had to grab [...]]]></description>
			<content:encoded><![CDATA[<br/><div id="sites-canvas-main-content">
<table cellspacing="0">
<tbody>
<tr>
<td>
<div dir="ltr">
<p>Heres how I got OpenCV installed:</p>
<p>First install some needed packages</p>
<p><code>sudo apt-get install build-essential libgtk2.0-dev</code></p>
<p>Now you need to grab FFmpeg for the install to work</p>
<p><code>svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg</code></p>
<p>The svn didn’t work for me, probably something to do with the proxy I’m under at Uni so I had to grab the source and compile it:</p>
<p>Download – <a rel="nofollow" href="http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2">http://ffmpeg.org/releases/ffmpeg-0.5.tar.bz2</a></p>
<p>(skip the tar step if you svn the package)</p>
<p><code>tar -jxvf ffmpeg-0.5.tar.bz2</code></p>
<p>Configure and install ffmpeg</p>
<p><code>cd ffmpeg</code></p>
<p><code>./configure --enable-shared</code></p>
<p><code>make</code></p>
<p><code> </code></p>
<p><code>sudo make install</code></p>
<p>Next grab a copy of OpenCV (I used OpenCV-2.0.0.tar.bz2 in this guide)</p>
<p>Download – <a rel="nofollow" href="http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.0/">http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.0/</a></p>
<p><code>tar -jxvf OpenCV-2.0.0.tar.bz2</code></p>
<p><code>cd OpenCV-2.0.0</code></p>
<p><code>./configure --with-ffmpeg --with-gtk --with-quicktime=false</code></p>
<p><code>make</p>
<p></code></p>
<p><code>sudo make install</code></p>
<p>Now you should be setup, try running one of the sample programs to test it:</p>
<p><code>cd samples/c/</code></p>
<p><code>. build_all.sh</code></p>
<p><code> </code></p>
<p><code>./facedetect</code></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Problems Installing OpenCV in Ubuntu Karmic (9.10)</title>
		<link>http://alexsleat.co.uk/2009/12/01/problems-installing-opencv-in-ubuntu-karmic-9-10/</link>
		<comments>http://alexsleat.co.uk/2009/12/01/problems-installing-opencv-in-ubuntu-karmic-9-10/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:03:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[OpenCV]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[problems]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=33</guid>
		<description><![CDATA[<br/><p>UPDATE</p> <p>I now have it working and wrote a guide of how I got it to work -</p> <p>http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/</p> <p>END UPDATE</p> <p>I found a great guide on getting OpenCV to install on Ubuntu Karmic (9.10) –http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/</p> <p>Most the comments show the guide works however I have a couple of problems:</p> <p>Firstly when reloading the [...]]]></description>
			<content:encoded><![CDATA[<br/><p><strong>UPDATE</strong></p>
<blockquote><p>I now have it working and wrote a guide of how I got it to work -</p>
<p><a href="http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/">http://alexsleat.com/2009/12/02/howto-install-opencv-in-ubuntu-karmic-9-10/</a></p></blockquote>
<p><strong>END UPDATE</strong></p>
<p>I found a great guide on getting OpenCV to install on Ubuntu Karmic (9.10) –<a href="http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/">http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/</a></p>
<p>Most the comments show the guide works however I have a couple of problems:</p>
<p>Firstly when reloading the libraries to make opencv show up<br />
<code>ldconfig -v | grep opencv</code><br />
That results in the following output:<br />
<code>/sbin/ldconfig.real: Cannot stat /lib/i486-linux-gnu: No such file or directory<br />
/sbin/ldconfig.real: Cannot stat /lib64: No such file or directory<br />
/usr/local/opencv/lib:</code></p>
<p>However continuing on with the installation and it is able to compile all the sample programs, but when attempting to run most of them it seems it fails at running the GUI:<br />
<code>./facedetect<br />
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvNamedWindow, file highgui/window.cpp, line 100<br />
terminate called after throwing an instance of 'cv::Exception'<br />
Aborted</code></p>
<p>When I find the fix for this I will make sure to update the post, if you find my post and fix it yourself please leave a comment how you did it.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2009/12/01/problems-installing-opencv-in-ubuntu-karmic-9-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

