Both images are in same image
Image With black text
Image with white text
I want to threshold the main image and result should be black text with white