<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>computer vision &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/computer-vision/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Sat, 05 Oct 2024 07:21:52 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>computer vision &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Performative Emotions]]></title>
		<link>https://shkspr.mobi/blog/2020/10/performative-emotions/</link>
					<comments>https://shkspr.mobi/blog/2020/10/performative-emotions/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Mon, 05 Oct 2020 11:53:40 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[computer vision]]></category>
		<category><![CDATA[emotion]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=36860</guid>

					<description><![CDATA[Digging through my old tweets, I found this gem. A billion dollar idea that I never did anything was.  Terence Eden is on Mastodon@edentWhat if your phone&#039;s front-facing camera captured your reaction to reading a text message? #bluesky❤️ 0💬 1🔁 011:01 - Fri 03 October 2008  If my hazy memory is correct, we&#039;d been asked to imagine future uses for a mobile phone with a front facing camera.  The year …]]></description>
										<content:encoded><![CDATA[<p>Digging through my old tweets, I found this gem. A billion dollar idea that I never did anything was.</p>

<blockquote class="social-embed" id="social-embed-944763647" lang="en" itemscope="" itemtype="https://schema.org/SocialMediaPosting"><header class="social-embed-header" itemprop="author" itemscope="" itemtype="https://schema.org/Person"><a href="https://twitter.com/edent" class="social-embed-user" itemprop="url"><img class="social-embed-avatar social-embed-avatar-circle" src="data:image/webp;base64,UklGRkgBAABXRUJQVlA4IDwBAACQCACdASowADAAPrVQn0ynJCKiJyto4BaJaQAIIsx4Au9dhDqVA1i1RoRTO7nbdyy03nM5FhvV62goUj37tuxqpfpPeTBZvrJ78w0qAAD+/hVyFHvYXIrMCjny0z7wqsB9/QE08xls/AQdXJFX0adG9lISsm6kV96J5FINBFXzHwfzMCr4N6r3z5/Aa/wfEoVGX3H976she3jyS8RqJv7Jw7bOxoTSPlu4gNbfXYZ9TnbdQ0MNnMObyaRQLIu556jIj03zfJrVgqRM8GPwRoWb1M9AfzFe6Mtg13uEIqrTHmiuBpH+bTVB5EEQ3uby0C//XOAPJOFv4QV8RZDPQd517Khyba8Jlr97j2kIBJD9K3mbOHSHiQDasj6Y3forATbIg4QZHxWnCeqqMkVYfUAivuL0L/68mMnagAAA" alt="" itemprop="image"><div class="social-embed-user-names"><p class="social-embed-user-names-name" itemprop="name">Terence Eden is on Mastodon</p>@edent</div></a><img class="social-embed-logo" alt="Twitter" src="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0Aaria-label%3D%22Twitter%22%20role%3D%22img%22%0AviewBox%3D%220%200%20512%20512%22%3E%3Cpath%0Ad%3D%22m0%200H512V512H0%22%0Afill%3D%22%23fff%22%2F%3E%3Cpath%20fill%3D%22%231d9bf0%22%20d%3D%22m458%20140q-23%2010-45%2012%2025-15%2034-43-24%2014-50%2019a79%2079%200%2000-135%2072q-101-7-163-83a80%2080%200%200024%20106q-17%200-36-10s-3%2062%2064%2079q-19%205-36%201s15%2053%2074%2055q-50%2040-117%2033a224%20224%200%2000346-200q23-16%2040-41%22%2F%3E%3C%2Fsvg%3E"></header><section class="social-embed-text" itemprop="articleBody">What if your phone's front-facing camera captured your reaction to reading a text message? <a href="https://twitter.com/hashtag/bluesky">#bluesky</a></section><hr class="social-embed-hr"><footer class="social-embed-footer"><a href="https://twitter.com/edent/status/944763647"><span aria-label="0 likes" class="social-embed-meta">❤️ 0</span><span aria-label="1 replies" class="social-embed-meta">💬 1</span><span aria-label="0 reposts" class="social-embed-meta">🔁 0</span><time datetime="2008-10-03T11:01:54.000Z" itemprop="datePublished">11:01 - Fri 03 October 2008</time></a></footer></blockquote>

<p>If my hazy memory is correct, we'd been asked to imagine future uses for a mobile phone with a front facing camera.  The year was 2008. The iPhone had been out for a year - and it would be another two before it got a selfie-cam.  But other 3G phones had them, and operators were struggling to find a way to monetise them.</p>

<p>My (naïve) idea was to have your camera continuously monitoring your face (!) and work out your emotions. If you received an SMS which made you laugh, the sender would get a laughing emoji automatically.</p>

<p>A silly idea? Probably! Here in 2020 we have the computing power to run facial recognition, basic emotional responses, and convert them into transmittable data. But I doubt many people would trust Facebook to continually scan their face just to save them the effort of manually typing <code>:'-(</code> in response to a sad message.</p>

<p>But there's another downside.</p>

<p>Last year, I was asked to take part in a focus group for a TV advert. I was told that my webcam would be monitored and a computer would analyse my emotional response to the video I was being shown. Sounded invasive, but they were paying me. So why not.</p>

<p>The advert was dull. But I found myself <em>performing</em> the emotions I thought they wanted me to see! I exaggeratedly rolled my eyes at every cliché, and grinned like a chimp at every inane joke. I knew that the computer was watching, and I felt like I had to put on a show for it.</p>

<p>How often have you <em>actually</em> laughed out loud before sending "LOL" to your friends?  Rarely, I imagine. In that case, there are important social relationships to maintain. Perhaps that's the same reason we wave at the end of Zoom calls. We want to strengthen our social bonds with other members of the group.</p>

<p>Our primitive monkey-brains don't really understand that a computer isn't a person. It has an eye, it watches us, it recognises an emotion - therefore, we feel compelled to perform for it.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=36860&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2020/10/performative-emotions/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Pareidolia and Computer Vision]]></title>
		<link>https://shkspr.mobi/blog/2014/06/pareidolia-and-computer-vision/</link>
					<comments>https://shkspr.mobi/blog/2014/06/pareidolia-and-computer-vision/#respond</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Fri, 13 Jun 2014 14:03:03 +0000</pubDate>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[computer vision]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[opencv]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=10475</guid>

					<description><![CDATA[Humans are pretty spectacular at image recognition.  We have a seemingly innate ability to look at an image and tell if it is that of a human face - even if it has been severely distorted.    Occasionally though, the software in our brains is a little too eager to see a face.  This phenomenon is called Pareidolia.  It&#039;s what causes you to see dragons when you look at the clouds, and a smiling…]]></description>
										<content:encoded><![CDATA[<p>Humans are pretty spectacular at image recognition.  We have a seemingly innate ability to look at an image and tell if it is that of a human face - even if it has been severely distorted.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/P07123_10_0.jpg" alt="P07123_10_0" width="512" height="512" class="aligncenter size-full wp-image-10480">

<p>Occasionally though, the software in our brains is a little <em>too</em> eager to see a face.</p>

<p>This phenomenon is called <a href="https://en.wikipedia.org/wiki/Pareidolia">Pareidolia</a>.  It's what causes you to see dragons when you look at the clouds, and a smiling face when you see :-)</p>

<p>Recently, I've been running facial recognition software on artworks held by Britain's Tate Gallery.  They have an amazing <a href="https://github.com/tategallery/collection">Open Data set</a> for their entire collection - including fairly high quality scans of each piece of artwork.</p>

<p>Using <a href="http://docs.opencv.org/">OpenCV</a> and Python, it's possible to examine an image for facial features.  Running over some of the artwork, I was surprised at just how good it was at picking up facial features from a wide variety of art styles.</p>

<p>
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/T02260_10_0.jpg">
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/T05747_10_0_1.jpg">
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/T06866_10_0.jpg">
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/P01337_10_0.jpg"></p>

<p>All of the above were automatically identified as being sufficiently face-like.</p>

<p>As it happens, computers <em>also</em> suffer from Pareidolia!</p>

<p>
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/P04945_10_0.jpg">
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/P78418_10_0.jpg">
<img src="https://shkspr.mobi/blog/wp-content/uploads/2014/06/P79120_10_0.jpg"></p>

<p>Again, all of the above were automatically identified as being sufficiently face-like.  Even the window pane...</p>

<p>I find it fascinating that we can create such high quality image recognition digitally, and yet still have it subject to the same bugs as our organic brains.</p>

<p>You can read the code that I used to recognise the images, and see the faces themselves, <a href="https://github.com/edent/tate-hack">on my GitHub page</a>.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=10475&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2014/06/pareidolia-and-computer-vision/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
