Life Tech How to spot fake news, hoax images

How to spot fake news, hoax images

Fake news
This made the rounds on Twitter in 2017 ... but Vladimir Putin was digitally popped into this image. Photo: Twitter
Share
Tweet Share Reddit Pin Email

A shark swimming down a flooded road. A bunch of missiles blasting off in unison during an Iranian missile test.

At first glance they might seem reasonable, but digitally altered images are everywhere, spreading like wildfire on news sites and social media.

So how can you tell if that photo your uncle shared on Facebook is authentic — or has been manipulated?

Image forensic experts have a few tools to spot images that have been tinkered with.

Algorithms can spot cloned areas, like the extra Iranian missile inserted into a launch photo (although, just looking at it, that one is pretty obvious).

Other techniques include building a virtual 3-D model from scratch to analyse the way light falls on a scene.

But for the average person without access to these tools, nor the skills or time to properly pick apart dodgy-looking images, there are a few basic things we can do, said Hany Farid, a computer scientist and digital forensics expert at Dartmouth University in the US.

Reverse image search

Let’s start simple. When he sees an image pop up on Twitter or Facebook, Dr Farid likes to see if it’s been on the internet before by doing a reverse image search, using Google Images or TinEye.

“Every time there’s a natural disaster, people circulate the same silly images of sharks swimming down the street,” Dr Farid said.

If an image has been recirculated from another website, or repurposed for whatever disaster has most recently struck, they’ll be discovered with a reverse image search.

Better yet, you might find the image debunked on Snopes.com or another outlet.

Get image metadata

So a photo has passed the reverse image search. Next, try burrowing into its metadata — the swathe of information that’s added to the photo by the camera.

“There are many websites where you can upload an image and it will strip out the metadata and show it to you,” Dr Farid said.

This includes the make of the camera, time of day the photo was snapped and GPS coordinates, if that’s enabled.

Better yet, if the image was opened in Photoshop and re-saved, it will tell you that too.

“When you edit an image, it adds its own little bit of metadata,” Dr Farid said.

You might also find a thumbnail — a small version of the original photo — saved with the image, said Richard Matthews, a PhD candidate researching digital image forensics at the University of Adelaide.

“All this happens in the background with you press the shutter,” he said.

This won’t work with all photos. Anything uploaded to Twitter and Facebook will have its metadata automatically stripped, which the companies say is for users’ privacy.

Light and shadows

Time to crack out the ruler and a pencil: the next method is super low-tech.

Shadows and light can reveal objects that have been moved or popped into a photo.

Dr Farid, who studies the human visual system, found that if he showed people images with shadows that were not physically possible, they rarely noticed.

But this also means forgers are also unable to see inconsistent shadows too.

Basically, you rule a line from a point on an object to the corresponding point on its shadow. Do this for a load of points and the lines should converge on the light source.

For an outdoor scene, the lines should be pretty much parallel, as the sun is 150 million kilometres away.

Take the photo below on the left and the altered image on the right.

Fake news
Spot the difference. Photo: ABC

What not to do

You might be enticed by online tools which claim to identify hoax images. Don’t be sucked in, Dr Farid said.

“The fact is this stuff is pretty complicated and you really have to have a deep understanding of physics and optics and how cameras work and how compression works,” he said.

Ah yes, compression. Most images online are compressed by JPEG — a “lossy” compression method.

It shrinks a file size by taking each eight-by-eight-pixel block in an image, processes them, and discards some of the information.

“The thing with JPEG is it introduces artefacts into the image and in particular, if you notice you have a particularly low-quality jpg image, you get what are called blocky artefacts,” Dr Farid said.

These blocky artefacts — strong horizontal and vertical lines — can look a little like something’s been added to or removed from an image.

On top of these, JPEG compression can produce colour distortions and blurring.

The eyes can also tell a story, Mr Matthews said. Zoom in on someone’s pupils and they should reflect the light source.

“If it’s a flash in a studio, you can see it in higher resolutions,” he said.

If a group of people have been photoshopped together, reflections in their pupils might not all be the same … but Dr Farid exercises caution when it comes to eyes.

“It is possible that in a room there are different light sources,” he said.

“If they’re all consistent, that can tell you something useful. If they’re different, though, the are other possible explanations,” such as multiple flashes.

– ABC