I have an image of a scanned document with text, and I managed to extract text from that image using Tesseract. But now I want to render this image on a webpage making it possible to select the text written on the document. One approach I had in mind was to create a layer of text on top of the image and render text over the image canvas, but I don't really know how to make this possible.