<p>The first things I would try is to see if smartphone pixels are visible (if the photo is high res) or if strange aliasing occurs (your example image shows both). </p>

<p>Another classical test (but not adapted to any scenes) is to detect perspective bias: if the camera is not exactly parallel to the smartphone screen, then 3D objects projected on the image on screen are projected again to the camera captor through a slightly different perspective. If the scene contains spheres, discs (physical or as reflects, for instance), perpendicular angles, or any similar invariant, then you can detect this.   (this kind of trick is also used to detect images photoshoped by composition of several images).</p>

CC BY-SA 3.0
2016-05-21T09:26:25.177Z
2016-05-21T09:26:25.177Z
Fabrice NEYRET
<p>Is there a way to make a difference between a photo of an actual object and a photo of an object through a computer or smartphone screen.</p>

<p>For example: how can I detect that the second image is taken from a screen?</p>

<p><a href="https://i.sstatic.net/6aTf2.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6aTf2.jpg" alt="Actual dog"></a>
<a href="https://i.sstatic.net/6nH7M.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6nH7M.jpg" alt="Screen dog"></a></p>

<p>Thank you very much!</p>

<texture><lighting><color><image-processing>
How to detect a screen in a photo
Hugo
# How to detect a screen in a photo

(Asked by: username_0 on 2016-05-20)

Is there a way to make a difference between a photo of an actual object and a photo of an object through a computer or smartphone screen.

For example: how can I detect that the second image is taken from a screen?

[![Actual dog](https://i.sstatic.net/6aTf2.jpg)](https://i.sstatic.net/6aTf2.jpg)
[![Screen dog](https://i.sstatic.net/6nH7M.jpg)](https://i.sstatic.net/6nH7M.jpg)

Thank you very much!

**Tags:** texture, lighting, color, image-processing


---

## 1 answers

### Answer by username_1 on 2016-05-21. Score: 4

The first things I would try is to see if smartphone pixels are visible (if the photo is high res) or if strange aliasing occurs (your example image shows both).

Another classical test (but not adapted to any scenes) is to detect perspective bias: if the camera is not exactly parallel to the smartphone screen, then 3D objects projected on the image on screen are projected again to the camera captor through a slightly different perspective. If the scene contains spheres, discs (physical or as reflects, for instance), perpendicular angles, or any similar invariant, then you can detect this. (this kind of trick is also used to detect images photoshoped by composition of several images).


---

