Skip to content

OpenCV JavaScript version for node.js or browser

License

Notifications You must be signed in to change notification settings

technologyarts/opencv-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opencv-js

OpenCV JavaScript version (NPM package) for node.js or browser. The file opencv.js was downloaded from https://docs.opencv.org/4.5.3/opencv.js

TypeScript is supported (thanks to mirada).

Examples & Live Demo

Using in react.js project

Real-time face detection

How to Use

  • npm install @techstark/opencv-js
  • or yarn add @techstark/opencv-js

Webpack Configuration (for browser usage)

If you use this package for browsers, you need to set some polyfills. In the file "webpack.config.js", set

module.exports = {
  resolve: {
    modules: [...],
    fallback: {
      fs: false,
      path: false,
      crypto: false
    }
  }
};

About

OpenCV JavaScript version for node.js or browser

Resources

License

Stars

Watchers

Forks

Packages

No packages published