title: Detecting text in an image using python
body: <p>I have around 100+ images with 2 different texts on it. The images are below. one is occupied and the other is unoccupied.</p>
  
  <p>So is there any way in python to differentiate these images using some code to detect the text in it? </p>
  
  <p>If so I wanted to identify the occupied images and delete unoccupied images.
  Since I am new to python can anyone help me in doing this?</p>
  
  <p><a href="https://i.stack.imgur.com/Fj7KJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fj7KJ.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/7Ghrb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Ghrb.jpg" alt="enter image description here"></a></p>