<?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>Web Design and Tutorials from Austria  &#124;  Christian-Kalmar.com &#187; Terminal</title>
	<atom:link href="http://www.christian-kalmar.com/tag/terminal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christian-kalmar.com</link>
	<description>Webdesign and Tutorials from Austria.</description>
	<lastBuildDate>Fri, 03 Sep 2010 09:28:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Fixing a broken Face Detection Database in iPhoto</title>
		<link>http://www.christian-kalmar.com/fixing-a-broken-face-detection/</link>
		<comments>http://www.christian-kalmar.com/fixing-a-broken-face-detection/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 23:27:37 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Face Detection]]></category>
		<category><![CDATA[iPhoto]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://www.christian-kalmar.com/?p=169</guid>
		<description><![CDATA[<p><img class="alignnone size-full wp-image-369" title="fix-face-detection-iphoto-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/fix-face-detection-iphoto-header.jpg" alt="fix-face-detection-iphoto-header" width="500" height="100" /> 5ll41001 </p>
<p>From time to time iPhoto&#8217;s face detection database gets broken and faces are not recognized on new imported photos. It can even happen that face information of old photos is lost or only partially working.</p>
<p>I think&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-369" title="fix-face-detection-iphoto-header" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/fix-face-detection-iphoto-header.jpg" alt="fix-face-detection-iphoto-header" width="500" height="100" /> 5ll41001 </p>
<p>From time to time iPhoto&#8217;s face detection database gets broken and faces are not recognized on new imported photos. It can even happen that face information of old photos is lost or only partially working.</p>
<p>I think one of the reasons could be using iPhoto image library among several users ( there is an how-to i wrote recently:<a title="Sharing iPhoto Library among several users on a Mac" rel="bookmark" href="../2009/06/07/sharing-iphoto-library-among-several-users-on-a-mac/"> Sharing iPhoto Library among several users on a Mac</a>). To be more precise it could have something to do with file privileges.</p>
<p>Well the bad news here are that there is no fix for that matter from Apple and all face data is lost. The good news: you can reset the database and make it work again.</p>
<p><br class="spacer_" /></p>
<h3>The Solution</h3>
<p><img class="alignright size-full wp-image-273" title="terminal-icon" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/terminal-icon.jpg" alt="terminal-icon" width="92" height="79" /></p>
<p>To reset the face database you need to delete the database files of iPhoto can create a new one. To achieve that you need to launch the Terminal application (you will find it in the Utilities folder within you Applications).</p>
<p><br class="spacer_" /></p>
<p>Now type the following commands in the terminal application (<span style="color: #ff0000;">before you continue here make as usual a backup and quit iPhoto</span>):</p>
<p><img class="alignnone size-full wp-image-276" title="terminal-commands" src="http://www.christian-kalmar.com/wp-content/uploads/2009/06/terminal-commands.gif" alt="terminal-commands" width="473" height="114" /></p>
<p><em><strong>sudo bash</strong></em> &#8211; this will give you superuser privileges after typing the admin password<br />
 <em><strong>cd /Users/&#8230;</strong></em> &#8211; change to the folder where your iPhoto library is located<br />
 <em><strong>r<span>m</span> -rf face &#8230;</strong></em> &#8211; delete the two database files that start with &#8220;face&#8221;</p>
<p>Now when you run iPhoto again your face database will be empty and you can start to add new faces. Depending on the number of photos you have in you library the first scan of all photos can take a while (10.000 photos made me wait half an hour).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.christian-kalmar.com/fixing-a-broken-face-detection/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
