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) 223 B
'use strict' let OPENCV_INCLUDE = "" if (process.env.OPENCV_INCLUDE) { OPENCV_INCLUDE = process.env.OPENCV_INCLUDE OPENCV_INCLUDE = OPENCV_INCLUDE.split("\\").join("/") } process.stdout.write(OPENCV_INCLUDE)