I came across this awesome feature in mobbin.com which highlights the given text in the image. I'm sure they are using RadixUI, TailwindCSS. But not sure about the part how the highlight is done.
It's kind of overlay above the text.
Any idea on how does it work?
Here is the Stackoverflow link (If relavant): https://stackoverflow.com/questions/77104440/highlight-the-text-in-image-using-tesseract-js