Python Pil Remove Everything From Image Except Text Based On Pixel

Python Pil Remove Everything From Image Except Text Based On Pixel