mobprotocol / bio-token

facial recognition oracle
0 stars 0 forks source link

Feature detection #3

Closed seanavery closed 6 years ago

seanavery commented 6 years ago

Problem

Using every pixel as a feature say 50 px * 50 px = 2500 features... way to much

Solution

not sure yet.. edge detection? Break down into smaller feature set: jaw, eyes, ears, hairline, ...

seanavery commented 6 years ago
  1. Bound the face in the picture
  2. Detect key facial features
    • [x] eyes
    • [x] nose
    • [x] mouth
    • [x] eyebrows
    • [x] jaw

get coordinates for all of these features using dlib's python api

seanavery commented 6 years ago

Problem

dlib is breaking on mach-o

built for simulator not macOS

seanavery commented 6 years ago

still having issue with mach-o...

solution

seanavery commented 6 years ago

opencv mean-shift to target a box around face

seanavery commented 6 years ago

face and eye detection via opencv's haar cascade pre-trained models

seanavery commented 6 years ago

dlib finally running and feature detection working.

python3 ./scripts/detect_features first_name last_name