All Projects → justadudewhohacks → Opencv Electron

justadudewhohacks / Opencv Electron

Licence: mit
Example for using opencv4nodejs with electron.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Opencv Electron

Ts React Boilerplate
Universal React App with Redux 4, Typescript 3, and Webpack 4
Stars: ✭ 104 (-2.8%)
Mutual labels:  webpack
Awesome Face Detection
Compare with various detectors - s3fd, dlib, ocv, ocv-dnn, mtcnn-pytorch, face_recognition
Stars: ✭ 106 (-0.93%)
Mutual labels:  opencv
Es6 Webpack2 Starter
🚀 A template project for es6/7, webpack2/3, sass and postcss
Stars: ✭ 106 (-0.93%)
Mutual labels:  webpack
Vue Svg Inline Loader
Webpack loader used for inline replacement of SVG images with actual content of SVG files in Vue projects.
Stars: ✭ 105 (-1.87%)
Mutual labels:  webpack
Antdfront
using next generation data manager and hook、pure function component 、webpack to build antd design pro microfrontend project without umi, cra,dva or rematch
Stars: ✭ 105 (-1.87%)
Mutual labels:  webpack
Simple React Full Stack
Boilerplate to build a full stack web application using React, Node.js, Express and Webpack.
Stars: ✭ 1,506 (+1307.48%)
Mutual labels:  webpack
Turtlebot3 simulations
Simulations for TurtleBot3
Stars: ✭ 104 (-2.8%)
Mutual labels:  opencv
Hiitpi
A workout trainer Dash/Flask app that helps track your HIIT workouts by analyzing real-time video streaming from your sweet Pi using machine learning and Edge TPU..
Stars: ✭ 106 (-0.93%)
Mutual labels:  opencv
Webpack Tools
☕️Just a simple webpack sample project.
Stars: ✭ 106 (-0.93%)
Mutual labels:  webpack
Yii2 Webpack
Yii2 Webpack2 asset management
Stars: ✭ 106 (-0.93%)
Mutual labels:  webpack
Lichter.io
My own website and CV
Stars: ✭ 105 (-1.87%)
Mutual labels:  webpack
Vue Example
Vue.js Examples
Stars: ✭ 105 (-1.87%)
Mutual labels:  webpack
Fpass
FPASS · 密码安全管理工具
Stars: ✭ 106 (-0.93%)
Mutual labels:  webpack
Is Now Illegal
🚫 A NERD protest against Trump's Immigration ban
Stars: ✭ 1,392 (+1200.93%)
Mutual labels:  opencv
Webworkify Webpack
launch a web worker at runtime that can require() in the browser with webpack
Stars: ✭ 105 (-1.87%)
Mutual labels:  webpack
Conf
Landing page for event React Conf Brazil
Stars: ✭ 104 (-2.8%)
Mutual labels:  webpack
Webpack Boilerplate
📦 ‎ A sensible webpack 5 boilerplate.
Stars: ✭ 1,949 (+1721.5%)
Mutual labels:  webpack
Lazy Compile Webpack Plugin
Boost webpack startup time by lazily compiling dynamic imports
Stars: ✭ 106 (-0.93%)
Mutual labels:  webpack
Instacam
Instant canvas video
Stars: ✭ 106 (-0.93%)
Mutual labels:  webpack
Arkit Multiplayer
ARKit multiplayer experience explanation & example
Stars: ✭ 106 (-0.93%)
Mutual labels:  opencv

opencv-electron

This is an example of how to use opencv4nodejs with electron to build cross-platform desktop apps.

opencv-electron

Note that there is an additional npm script to rebuild the package for electron, which is called from the install script:

"electron-rebuild": "electron-rebuild -w opencv4nodejs"

plain-js

This example shows how to use opencv4nodejs with electron and plain HTML + Javascript without any bundler.

Running this example:

Set up opencv4nodejs, electron and rebuild the module for electron:

npm install

Run:

npm start

webpack-reactjs

This example shows how to use opencv4nodejs with webpack and react, requires node-loader to load the native addon.

npm i node-loader

On windows

If you are using the autobuild on windows, you have to append the path to the binaries to the path env of main process manually as follows (in main.js):

if (process.platform === 'win32' && !process.env.OPENCV4NODEJS_DISABLE_AUTOBUILD) {
  process.env.path += ';' + require('../renderer/node_modules/opencv-build').opencvBinDir
}

Running this example:

In the root directory:

npm install
npm start

In another terminal cd into ./renderer and run the dev server:

npm install
npm start

Known issues

If you are receiving the following error on windows during electron-rebuild:

AttributeError: 'MSVSProject' object has no attribute 'iteritems'

Delete fsevents from your node_modules folder and rerun:

npm run electron-rebuild
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].