huan / face-blinder

API for Whom is Suffering form Face Blindess
https://npmjs.com/package/face-blinder
Apache License 2.0
3 stars 2 forks source link

Error: Face.distance(035dc6c4c40e7dc5df74da2a0d202234) target face no embedding! #20

Open huan opened 6 years ago

huan commented 6 years ago

Der! I just got online, please show me the face! WechatyBlinder v0.5.14

16:26:55 VERB Listener (message) onMediaMessage(青天会黄浦江论坛-facenet, MediaMessage<3266867166480538403.jpg>)
16:26:55 VERB Listener (message) mediaFile(3266867166480538403.jpg)
16:26:55 VERB Listener (message) saveStream(_, /workdir/blinder-docker/images/media-message-3266867166480538403.jpg)
16:26:56 VERB Listener (message) onImage(/workdir/blinder-docker/images/media-message-3266867166480538403.jpg, MediaMessage<3266867166480538403.jpg>)
16:26:56 VERB Listener (message) onImage() blinder.see() got 1 faces
Error: Face.distance(035dc6c4c40e7dc5df74da2a0d202234) target face no embedding!
    at Face.distance (/facenet/dist/src/face.js:374:19)
    at faceList.sort (/blinder/node_modules/face-blinder/dist/src/face-blinder.js:230:49)
    at Array.sort (native)
    at FaceBlinder.<anonymous> (/blinder/node_modules/face-blinder/dist/src/face-blinder.js:230:29)
    at Generator.next (<anonymous>)
    at fulfilled (/blinder/node_modules/face-blinder/dist/src/face-blinder.js:4:58)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)
huan commented 6 years ago

Try to fix this by https://github.com/zixia/face-blinder/commit/c5cd3fcdcc5f4a58a3c3b88f2c66f37e0d5c3c71