rectangle_highlight
Version:
rectangle_highlight is npm package that can used to draw recatngle on image by using x and y values. It's can be used with object detections to draw the the detetcted objects on image . This package is build on C++ using N-API and it's faster than usual s
7 lines (6 loc) • 327 B
JavaScript
const rectangle_highlight=require("./index");
const fs=require('fs');
console.time("test");
let data=rectangle_highlight.draw("C:/Users/ACODEZ/RD/rectangle_highlight/gp008.png","C:/Users/ACODEZ/RD/rectangle_highlight/Telecommunicati008_out.png",1691, 2057,1886, 2295,255,0,0);
console.log(data);
console.timeEnd("test");