Taking snapshot to a LCD screen

Hi, i tried to take a snapshot to a lcd screen and then pass the image through an OCR.
The main problem is, the better the focus of the camera, the more interference is perceived, as you can see in the accompanying video.
My question is if there is any way to avoid that kind of interference that happens when we take a snapshot or video to any screen?
Capture LCD Screen.mp4 (4.59 MB)

Not really, any camera would see that. However, you could threshold the image to remove some of that and make it pure black and white…

I need to get around to making an adaptive thrshold algorithm for the camera. Going to add that to my to-do list.

For now, use the binary method to globally threshold the image. You can use the threshold editor to pick the right threshold to get a black and white image. That said, any decent OCR library will do adaptive thresholding on an image for you so it should matter that the camera can see the LCD scanning.