c++ - Search detected faces from a database OpenCV -


i working code:

program sample

the above link has been programmed of page: servo magazine

this code can extract face, learn face , save learn face in database label(example: chris_laughing.bmp or chris_sad.bmp). can recognize face user saved in database.

my project send e-mail user if person not in database.

  • i included function send e-mail user.

so have saved 2 different images 2 stars chris , john. when click recognize show me correctly star label(example: chris_laughing.bmp) database.

the problem if extract(detect) face other star or person (also not chris not john) code show me nearest star database.

what want program give me messagebox say: person not in database.

is possible program(code)??

that program works assuming face images each person lie in subspace different other people. idea can work in situations. program learns subspace each person , when input new image measures distance subspaces has learned , chooses nearest one.

the program doesn't seem have sort of check image far learned subspaces. however, interesting exercise try add feature.

here info main idea in software: http://en.wikipedia.org/wiki/eigenface


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -