I have been putting a colored label on my webcam when im not using it. I read this on the internet as it prevents hackers from seeing you in case your laptop gets hacked. I don't know much about cameras (you just press a button and there is a picture) — I don't know what resolution/contrast/alpha etc are. So is there any way that the image coming on the camera can be made clear enough to identify my face? Right now the picture that comes out is like this:

ps: in this image there is a book with a title english legal system and a person with a balance in their hand.

  • no, it would be impossible to get even the slightest structure out of this image
    – timvrhn
    Jun 17, 2019 at 12:03
  • would changing any camera setting make it more clear Jun 17, 2019 at 12:34
  • extremely unlikely
    – timvrhn
    Jun 17, 2019 at 12:59
  • 2
    "ps: in this image there is a book with a title english legal system and a person with a balance in their hand." no there isn't ;)
    – timvrhn
    Jun 17, 2019 at 14:23
  • 4
    vtc b/c This question is about how to prevent photos from being taken with a webcam, not photography, which is about taking pictures.
    – xiota
    Jun 17, 2019 at 16:51

4 Answers 4


Well, trying with histogram equalization, blurring and highpass filtering I get the following:Filtered image Not particularly incriminating. However, you have to be aware that it probably is still good enough for figuring out what kind of lights are still on. This helps figuring out your sleep patterns and, for example, whether you are out on some Saturday evening or not, leaving the appartment unattended. Systematic information gatherers might still have something to sell even from that kind of info. Saves one from loitering in the street and watching when the lights tend to go out.

In short, no point in not getting an actually opaque label if you are bothering in the first place.

  • by the way what is your opninion about the way @tfb has suggested Jun 17, 2019 at 21:11

Deblurring works by applying an "inverse transfer function". The transfer function of blurring strongly attenuates high frequencies (narrow-spaced changes), so inverting them has to take into account imaging noise and not reamplify this kind of high frequency noise to where it is expect to dwarf the image. To do this reasonably successfully, you need a high quality image of the blur. Computational blurring without the additional step of adding significant noise for that reason may end up surprisingly reversible. And an unsharp image taken with a high quality sensor and stored and processed at high precision can often be improved significantly.

This, however, is a webcam here. It does not tend to convey significant amounts of information beyond the immediately visible, indeed it's quality tends to be debatable even when not spending any amount of acribic effort inspecting fine image details. And not because it algorithmically reduces image quality artificially but just because it is that bad.

So there is not much to be feared with regard to recoverable information from an image such as this if it is the result of webcam imaging.

  • thank you. 1-this webcam is of macbook pro 2015 retine early 2015 13 inch. (built in) webcam does this make a difference?it is a 720p Facetime HD camera 2- would a very good camera like a dslr with this label on it be able to be deblurred? Jun 17, 2019 at 13:11

I played around with contrast, color and brightness of the picture but I could not see anything even close to a face. So I think it's safe to say that no one can identify you using this picture.

  • thank you for the effort. in this picture there isnt any face. there is a book called english legal system with a picture of a statue Jun 17, 2019 at 12:11
  • I couldn't see anything except blur, so no need to worry ^^ Jun 17, 2019 at 12:22

[This is not really an answer, but it's too long for a comment. I'd welcome comment on this approach, which I know works in other contexts.]

I think there's an interesting approach here which, well, I'll describe it.

If you assume that whatever is is in front of the lens does two things:

  • it turns most of the photons reaching the lens into random noise by scattering within the label;
  • but it allows some small proportion of photons through unmolested.

Then you are clearly not going to be able to recover anything from a single image, because the noise dwarfs the signal. But if you take a long sequence of images from the camera, then you can essentially sum these images, and you'll find that the noise gets slowly washed away while the signal doesn't.

Note that this will only work for some object where at least some of the light is able to get through unaffected, which is not the case for a lens, for instance! So this isn't a deblurring approach it's a de-noising approach.

So you may be able to recover a useful image by essentially looking at a movie made from the webcam and processing that. However this will only work, even in principle, if there is a stable image to be had: if you, for instance, move a lot, then it's not going to be able to recover an image.

Still, I'd use a cover which is actually opaque.

Here is an example of this approach (in a simulation). Here is a set of 6 images: the first is the original photograph. The second one has had random noise added to it, with the noise level being a factor 100 greater than the image. The remaining images have this process iterated 1000, 10,000, 100,000 and 1000,000 times (with different random noise each time). You can see the image slowly climb up out of the noise.


  • I'm awfully interested in testing this now...hmmm...
    – OnBreak.
    Jun 17, 2019 at 15:41
  • @tfb so would it be enought to recognise a face Jun 17, 2019 at 18:45
  • @shahidkhan: yes, if the face stayed still long enough that it can climb out of the noise. So probably no in practice.
    – user82065
    Jun 17, 2019 at 22:34
  • yes but in this case there is a label on top of it. does that still apply here seeing that its translucent and many particles would not pass unmolested Jun 18, 2019 at 5:24
  • 2
    the OP doesn't have random noise, which cancels out, but a systematically blurred image. more frames won't make this go away.
    – ths
    Jun 18, 2019 at 9:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.