How to draw a boxes on the image after getting the coordinates from AI model in react js?
You could use canvas rect() method as per description https://www.w3schools.com/tags/canvas_rect.asp