In short - you cannot , and not when your legitimate user will be identical to your opponent. If users can see this, they can also take a picture. This is a typical situation with a red cow: the “protection against protection” technology reacts at the same speed as your protection technology: if you come up with non-polarized displays , users will take pictures through polarizing filters; the only thing that really changes is the side effects.
Look at the longer version: Is it possible to protect from downloading videos from the site
(What you could try is to ensure security by legal means, and not technologically: "I hereby agree that I can only use the application if I do not photograph it, in a protected room and alone; I lose access and I have to pay a fine of $ zillion. "It sounds impracticable, but it is even easier to implement and more efficient - mainly because of FUD - than it blocks users technologically. IANAL .;))
source share