UNPKG

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

8 lines (7 loc) 220 B
'use strict' let OPENCV_LIB = "" if (process.env.OPENCV_LIB) { OPENCV_LIB = process.env.OPENCV_LIB+"\\opencv_world401.lib"; OPENCV_LIB = OPENCV_LIB.split("\\").join("/") } process.stdout.write(OPENCV_LIB)