Library to get coordinates of rectangles drawn on image.
var image = new Image(); image.src = '../data/test.png'; var data = yotsuko.process(image); canvas_draw(data); // Implementation in tests
Original image on the right and rebuilt on the left: