opencvjs-web
v1.1.0
Published
OpenCV.js for web applications
Maintainers
Readme
opencvjs-web
A custom build of OpenCV.js from source files, packaged for easy npm distribution.
Description
This package contains a pre-built OpenCV.js library compiled from OpenCV source code. It provides computer vision capabilities directly in the browser without requiring additional setup or compilation.
Installation
npm install opencvjs-webUsage
import createCV from 'opencvjs-web'
createCV().then((cv) => {
console.log('OpenCV.js is ready to use!', cv)
// Get build information
console.log(cv.getBuildInformation())
// You can now use OpenCV.js functions here
// Example: Create a matrix
const mat = new cv.Mat()
}).catch((err) => {
console.error('Failed to load OpenCV.js:', err)
})Features
- Pre-compiled OpenCV.js build
- Ready-to-use computer vision functions
- Browser-compatible
- No additional compilation required
Build Information
This package contains a custom build of OpenCV.js compiled from source. The build includes the core OpenCV functionality optimized for web applications.
License
MIT
