UNPKG

opencv4nodejs

Version:

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

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