Consider the following image:
I would like to remove the entire background (everything that does not belong to the) to be left only with the integral. My purpose is to make it easier to get the integral in LaTeX from OCR.
Consider the following image:
I would like to remove the entire background (everything that does not belong to the) to be left only with the integral. My purpose is to make it easier to get the integral in LaTeX from OCR.
Copyright © 2021 Jogjafile Inc.

Is this what you want? Using Imagemagick, I do a division normalization followed by a thresholding.
Input:
Adjust the threshold as desired.
ADDITION
Add morphology to thicken the lines