enter image description here

Problem Statement: Identify the sub-region in an image with hand-written text/scribbling
(Attaching an example for reference. Masked some text for privacy)

Once I get the pixel values, I want to replace them with white pixels, so I remove the scribblings completely from the image.

(PS: I don't have a lot of training images to train a CNN. So, asking here in case the problem can be solved via a classical CV approach)


You could try to run some OCR like tesseract. It'll give you locations of detected text. It'll probably fail for handwritten and skewed text. You'll get your mask, though this is a bit hacky as some false negatives may appear.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.