# witness **Repository Path**: bradyk/witness ## Basic Information - **Project Name**: witness - **Description**: Electron-vue+node: 调用因纳伟盛dll读取身份证,利用webRTC采取图片,进行认证比对 依赖: npm install -g node-gyp npm install -g supervisor - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2020-12-15 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # witness > An electron-vue project(Windows only) #### introduct - 因纳伟盛dll读取身份证(使用前需要给电脑先安装因纳伟盛驱动) - webRTC开启摄像头,tracking.js进行人脸检测,调用百度AI开发平台中的API进行人脸识别 #### Build Setup ``` bash # install dependencies npm install # serve with hot reload //The premise is that Python 2.7 and node must be 32 bits installed npm install -g node-gyp npm install -g supervisor //enter node_modules/ffi,execute the following commands node-gyp rebuild -target=2.0.4 -arch=x64 -dist-url=https://atom.io/download/electron //enter the project root directory .\node_modules\.bin\electron-rebuild.cmd npm run dev # build electron application for production # After compilation, you need to copy the DLL used in the project to the packaged file root directory npm run build ``` --- This project was generated with [electron-vue](https://github.com/SimulatedGREG/electron-vue)@[8fae476](https://github.com/SimulatedGREG/electron-vue/tree/8fae4763e9d225d3691b627e83b9e09b56f6c935) using [vue-cli](https://github.com/vuejs/vue-cli). Documentation about the original structure can be found [here](https://simulatedgreg.gitbooks.io/electron-vue/content/index.html).