Yes, I do this with JavaScript in the browser.
You need:
- the dimension of the image-file on which the bbox coordinates are based
- the dimensions of the image in the HTML-page (scalable, scrollable, ...)
- parse the bbox numbers
- calculate CSS positions and size
- add the style to each element
Then highlight, frame, render or whatever on mouseover, on click, on focus.
HTH
Helmut Wollmersdorfer