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_DLL = "" if (process.env.OPENCV_DLL) { OPENCV_DLL = process.env.OPENCV_DLL+"\\opencv_world401.dll"; OPENCV_DLL = OPENCV_DLL.split("\\").join("/") } process.stdout.write(OPENCV_DLL)