Reconstructing 3D Models from The Last Jedi

by @edent | # # # # # | 3 comments | Read ~4,077 times.
Different depth maps of various accuracy

A quick tutorial in how to recover 3D information from your favourite 3D movies. In this example, we’ll be using Star Wars – The Last Jedi. tl;dr? Here’s the end result (this video is silent): Grab the code on GitHub. Let’s go! Take a screenshot of your favourite scene. Something with a clearly defined foreground…

Continue reading →

Adjusting timestamps on images with Python

by @edent | # # # # # | Read ~2,078 times.
A cute penguin.

As ever, mostly notes to myself. I have a bunch of old images which don’t have any timestamp associated with them. This quick Python script will add a DateTime EXIF metadata tag to an image. This uses piexif which can be installed using pip install piexif This simple script reads a photo, adds a timestamp,…

Continue reading →

Long Exposures – Creating Average Frames From Movies

by @edent | # # # # | 3 comments | Read ~7,567 times.

I read a Guardian article about an artist who set up an analogue camera in front of their TV, set it to long exposure, and set a movie playing. The result was a rather wonderful collection of images. You can see more of Jason Shulman’s works Is there a way to automate this process? Yes!…

Continue reading →

Replacing IFTTT – Part 1: RSS & Tumblr

by @edent | # # # # | 5 comments | Read ~516 times.

I’ve grown to loath IFTTT. What started out as a cool way to plug internet things together has being an opaque an uncommunicative company with no real interest in customer service. That’s not surprising, I suppose, its paying customers are the companies who can’t be bothered to develop a proper API and so just shove…

Continue reading →

Which Twitter User Receives The Most Citations on Wikipedia?

by @edent | # # # | 3 comments | Read ~297 times.

I few days ago, I was somewhat surprised to find that one of my Tweets had been used as a citation in Wikipedia! I began to wonder – how often are Tweets used in citations? It’s possible to search for your own Tweets using this (somewhat obscure) link: https://en.wikipedia.org/w/index.php?title=Special%3ALinkSearch&target=twitter.com%2Fedent Just edit the end of it…

Continue reading →

Track deletions on Twitter – AKA build your own Politwoops

by @edent | # # # | Read ~767 times.

Twitter, as part of its never-ending quest to alienate users and appease the rich and powerful, have shut down Politwoops accounts. Politwoops monitored politicians’ Twitter accounts and noted when they deleted a tweet. Most of the time deletions were done for the same reason we all deleted content – mispellings, broken links, etc – but…

Continue reading →

Idiot's Guide To Getting Started with Raspberry Pi's GPIO Pins

by @edent | # # # # | 13 comments | Read ~38,889 times.

The idiot in question being… me! It’s been ages since I did any real electronics. Most of my work involves software and pre-assembled bits of kit. I thought that it was time I reacquainted myself with the joys of electricity 🙂 Because I’m fundamentally lazy, I purchased the all-in-one Raspberry Pi 2 kit from Vilros.…

Continue reading →

This is what a graph of 8,000 fake Twitter accounts looks like

by @edent | # # # # | 11 comments | Read ~50,584 times.

Recently I’ve been plagued with Tweets saying that I’m “trending in London.” As flattering as that is, it’s not true. There appears to be a network of Twitter bots which are randomly repeating other people’s tweets, ripping off avatars and bios, and generally causing a nuisance. Looking at the users’ Twitter name, I don’t think…

Continue reading →

Which Painting Do You Look Like? Comparing Faces Using Python and OpenCV

by @edent | # # # # # | 22 comments | Read ~22,373 times.

Many years ago, as I was wandering around the Louvre, I came across a painting which bore an uncanny resemblance to me! Spooky, eh? Yeah, yeah, it’s not the greatest likeness ever, but people who know me seem to think I look like the chap on the left. This got me thinking… Wouldn’t it be…

Continue reading →

Pareidolia and Computer Vision

by @edent | # # # # | Read ~326 times.

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…

Continue reading →