I am given a pdf which is a scanned answer sheet. And in that answer sheet I was to segment our answer boxes. I have looked into other answers as well but they are mainly for text pdfs, where as in my case, I have scanned images in pdf format.
Here is a sample pdf: https://drive.google.com/file/d/15EDEzT1_upy0EtMqD_vVUT5Z3xaiUokA/view?usp=sharing
A=122. Who was the first Prime Minister of India? A=awaunal Nehn3. What is the capital of Lakshadweep? A=KavanU4 Expand ATM.A=#utmid Tranttim Tunsken Lnu5. 25% of 50 is?A=12-Sread aloud and weep - K J