Skip to content

huan/face-blinder

Repository files navigation

FACE-BLINDER

Powered by FaceNet Powered by TypeScript

Build Status NPM Version Downloads

Assitant Bot for Whom is Suffering form Face Blindess

Face Blindess

"Face blindness is a brain disorder characterized by the inability to recognize faces." - MedicineNet.com

INSTALL

npm install face-blinder facenet numjs flash-store

Peer Dependence

  1. facenet
  2. numjs
  3. flash-store

EXAMPLE

  • try npm run see to see faces from image.
  • try npm run similar to get similar faces from two images.
  • try npm run recogonize to recogonize faces from two images.

The following example show you the basic function.

import { FaceBlinder } from 'face-blinder'

const faceBlinder = new FaceBlinder()
await faceBlinder.init()

const faceList  = await faceBlinder.see(`zhizunbao-zixia.jpg`)
await faceBlinder.remember(faceList[0], 'Zixia')
const recognizedZixia = await faceBlinder.recognize(faceList[0])
console.log(`Recognize Zixia result: ${recognizedZixia}`)

faceBlinder.quit()

more examples:

  • see-face: Recognize two faces from zhizunbao-zixia.jpg, then save them to local file.
  • find-similar-face: Recognize face in zixia.jpg and get similar face from zhizunbao-zixia.jpg.
  • recogonize-face: Learn Zixia face from zixia.jpg, then recognize Zixia from zhizunbao-zixia.jpg.
  • wechaty-blinder: An interesting project connet wechaty with face-blinder. Make face-blinder works on a personal wechat.

DOCUMENT

See auto generated docs

PROSOPAGNOSIA

Who has prosopagnosia, commonly called face blindness, which means he/she will have trouble recognizing familiar faces and learning to recognize new ones.

7 signs and symptoms of face blindness / prosopagnosia

The list was compiled with the help of the Yahoo Faceblind group.

  1. You have failed to recognize a close friend or family member, especially when you weren't expecting to see them.
  2. When you meet someone new, you try to remember their hairstyle or a distinctive feature rather than their face.
  3. Do you confuse characters in movies or on television more so than other people?
  4. You have failed to recognize yourself in the mirror and/or have difficulty identifying yourself in photographs.
  5. When someone casually waves or says hello in the street, you more often than not don't know who they are.
  6. When someone gets a haircut, you may not recognize them when you see them again.
  7. You have difficulty recognizing neighbors, friends, coworkers, clients, schoolmates (etc.) out of context.

SEE ALSO

  1. I have face blindness and you might too
  2. 7 signs and symptoms of face blindness / prosopagnosia

AUTHOR

Huan LI <zixia@zixia.net> (http://linkedin.com/in/zixia)

profile for zixia at Stack Overflow, Q&A for professional and enthusiast programmers

COPYRIGHT & LICENSE

  • Code & Docs © 2017 Huan LI <zixia@zixia.net>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons