ephraim / node-red-contrib-fprint Goto Github PK
View Code? Open in Web Editor NEWThis node-red node brings the fprint functions to node-red.
License: MIT License
This node-red node brings the fprint functions to node-red.
License: MIT License
Hello,
Are there any guide to initialise the device and connect to it?
I tried import the sample flow but it doesn't connect to the FPS device.
Please advice, thanks.
Regards,
Les
Hi, i wanted to install the nodes but it doen't work.
`2021-07-10T15:46:04.624Z Install : node-red-contrib-fprint 0.0.4
2021-07-10T15:46:04.713Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production [email protected]
2021-07-10T15:46:11.656Z [out]
2021-07-10T15:46:11.656Z [out] > [email protected] install /home/pi/.node-red/node_modules/node-fprint
2021-07-10T15:46:11.656Z [out] > node-gyp rebuild
2021-07-10T15:46:11.656Z [out]
2021-07-10T15:46:13.229Z [out] make: Entering directory '/home/pi/.node-red/node_modules/node-fprint/build'
2021-07-10T15:46:13.232Z [out] CXX(target) Release/obj.target/fingerprint/src/enroll.o
2021-07-10T15:46:15.346Z [out] CXX(target) Release/obj.target/fingerprint/src/verify.o
2021-07-10T15:46:16.831Z [err] ../src/verify.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE verifyStart(Nan::NAN_METHOD_ARGS_TYPE)’:
2021-07-10T15:46:16.831Z [err] ../src/verify.cpp:160:46: error: no matching function for call to ‘v8::Value::ToString()’
2021-07-10T15:46:16.831Z [err] s = *String::Utf8Value(info[1]->ToString());
2021-07-10T15:46:16.831Z [err] ^
2021-07-10T15:46:16.831Z [err] In file included from /home/pi/.cache/node-gyp/14.17.3/include/node/node.h:67,
2021-07-10T15:46:16.831Z [err] from ../../nan/nan.h:56,
2021-07-10T15:46:16.831Z [err] from ../src/fingerprint.h:1,
2021-07-10T15:46:16.831Z [err] from ../src/verify.cpp:1:
2021-07-10T15:46:16.831Z [err] /home/pi/.cache/node-gyp/14.17.3/include/node/v8.h:2810:44: note: candidate: ‘v8::MaybeLocalv8::String v8::Value::ToString(v8::Localv8::Context) const’
2021-07-10T15:46:16.831Z [err] V8_WARN_UNUSED_RESULT MaybeLocal ToString(
2021-07-10T15:46:16.831Z [err] ^~~~~~~~
2021-07-10T15:46:16.831Z [err] /home/pi/.cache/node-gyp/14.17.3/include/node/v8.h:2810:44: note: candidate expects 1 argument, 0 provided
2021-07-10T15:46:17.040Z [err] make: *** [fingerprint.target.mk:116: Release/obj.target/fingerprint/src/verify.o] Error 1
2021-07-10T15:46:17.040Z [out] make: Leaving directory '/home/pi/.node-red/node_modules/node-fprint/build'
2021-07-10T15:46:17.043Z [err] gyp
2021-07-10T15:46:17.043Z [err]
2021-07-10T15:46:17.043Z [err] ERR! build error
2021-07-10T15:46:17.045Z [err] gyp
2021-07-10T15:46:17.045Z [err] ERR! stack Error: make
failed with exit code: 2
2021-07-10T15:46:17.045Z [err] gyp ERR!
2021-07-10T15:46:17.045Z [err] stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
2021-07-10T15:46:17.045Z [err] gyp ERR!
2021-07-10T15:46:17.045Z [err] stack at ChildProcess.emit (events.js:375:28)
2021-07-10T15:46:17.045Z [err] gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
2021-07-10T15:46:17.046Z [err] gyp
2021-07-10T15:46:17.046Z [err] ERR! System Linux 5.10.17-v7l+
2021-07-10T15:46:17.046Z [err] gyp
2021-07-10T15:46:17.046Z [err] ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2021-07-10T15:46:17.046Z [err] gyp
2021-07-10T15:46:17.046Z [err] ERR! cwd /home/pi/.node-red/node_modules/node-fprint
2021-07-10T15:46:17.046Z [err] gyp ERR! node -v v14.17.3
2021-07-10T15:46:17.047Z [err] gyp ERR! node-gyp -v v5.1.0
2021-07-10T15:46:17.047Z [err] gyp
2021-07-10T15:46:17.047Z [err] ERR! not ok
2021-07-10T15:46:17.145Z [err] npm
2021-07-10T15:46:17.145Z [err] ERR! code ELIFECYCLE
2021-07-10T15:46:17.145Z [err] npm ERR!
2021-07-10T15:46:17.145Z [err] errno 1
2021-07-10T15:46:17.158Z [err] npm
2021-07-10T15:46:17.158Z [err] ERR! [email protected] install: node-gyp rebuild
2021-07-10T15:46:17.158Z [err] npm ERR! Exit status 1
2021-07-10T15:46:17.159Z [err] npm ERR!
2021-07-10T15:46:17.159Z [err] npm
2021-07-10T15:46:17.159Z [err] ERR! Failed at the [email protected] install script.
2021-07-10T15:46:17.159Z [err] npm ERR!
2021-07-10T15:46:17.159Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2021-07-10T15:46:17.178Z [err] `
Hi,
I installed my usb microsoft reader (usb) U4000 / 4000b / 4500 fingerprint correctly installed and ready for use/running with fprint_demo.
I have problems with node-red and your example:
enroll-verify inject: enroll-started, enroll-stage-passed for 5 times(stage5/5), enroll-completed with fingerprint: 789c .... and after verify-started, verify-succeeded and after fingerprint: 789c8d9 ..... all right. it works very well.
if I want to start only a check how should I do?
I used google translator, sorry
thank you
Hello,
I'm stuck with this error below when installing node-red-contrib-fprint. libfprint-dev
has been installed with command sudo apt install libfprint-dev
.
Need help! thank you.
syspc@001:~$ npm install node-red-contrib-fprint -g
> [email protected] install /home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint
> node-gyp rebuild
make: Entering directory '/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint/build'
CXX(target) Release/obj.target/fingerprint/src/enroll.o
CXX(target) Release/obj.target/fingerprint/src/verify.o
../src/verify.cpp: In function ‘Nan::NAN_METHOD_RETURN_TYPE verifyStart(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/verify.cpp:160:46: error: no matching function for call to ‘v8::Value::ToString()’
s = *String::Utf8Value(info[1]->ToString());
^
In file included from /home/syspc/.cache/node-gyp/13.6.0/include/node/node.h:63:0,
from ../../nan/nan.h:54,
from ../src/fingerprint.h:1,
from ../src/verify.cpp:1:
/home/syspc/.cache/node-gyp/13.6.0/include/node/v8.h:2750:44: note: candidate: v8::MaybeLocal<v8::String> v8::Value::ToString(v8::Local<v8::Context>) const
V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
^~~~~~~~
/home/syspc/.cache/node-gyp/13.6.0/include/node/v8.h:2750:44: note: candidate expects 1 argument, 0 provided
fingerprint.target.mk:118: recipe for target 'Release/obj.target/fingerprint/src/verify.o' failed
make: *** [Release/obj.target/fingerprint/src/verify.o] Error 1
make: Leaving directory '/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:321:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 5.0.0-32-generic
gyp ERR! command "/home/syspc/.nvm/versions/node/v13.6.0/bin/node" "/home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/syspc/.nvm/versions/node/v13.6.0/lib/node_modules/node-red-contrib-fprint/node_modules/node-fprint
gyp ERR! node -v v13.6.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/syspc/.npm/_logs/2020-01-23T07_33_23_141Z-debug.log
Hi,
I get the following error when I try to run the install command (npm install node-red-contrib-fprint). What I did wrong? Please advice, thank you. Regards, Les:
pi@raspberrypi:~/.node-red $ npm install node-red-contrib-fprint
> [email protected] install /home/pi/.node-red/node_modules/node-fprint
> node-gyp rebuild
Package libfprint was not found in the pkg-config search path.
Perhaps you should add the directory containing `libfprint.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libfprint' found
gyp: Call to 'pkg-config --libs libfprint' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:336:16)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.14.50-v7+
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/.node-red/node_modules/node-fprint
gyp ERR! node -v v8.11.4
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-08-22T07_06_08_919Z-debug.log
Any reason you didn't follow the node-red naming convention?
http://nodered.org/docs/creating-nodes/packaging.html
"Node packages that are maintained by the Node-RED project use the prefix node-red-node-. 3rd party nodes should chose a naming scheme that avoids that prefix."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.