UNPKG

opencv4nodejs-prebuilt

Version:

Asynchronous OpenCV 4.x nodejs bindings with JavaScript and TypeScript API.

12 lines (10 loc) 227 B
const makeDrawUtils = require('./drawUtils') module.exports = function(cv) { const { drawTextBox, drawDetection } = makeDrawUtils(cv) cv.drawTextBox = drawTextBox cv.drawDetection = drawDetection return cv }