UNPKG

ojos

Version:

High level API on top of Mirada (opencv.js) supporting bth browser and node.

7 lines 272 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function toSize(r) { return Array.isArray(r) ? { width: r[0], height: r[0] } : typeof r === 'number' ? { width: r, height: r } : r; } exports.toSize = toSize; //# sourceMappingURL=util.js.map