Commit Graph

14 Commits

Author SHA1 Message Date
goodspb
091caba0d8
Merge pull request #4 from stalker314314/chinese_whispers
Support for raw chinese_whispers
2018-07-21 01:06:15 +08:00
Branko Kokanovic
14b1ae350b Support for raw chinese_whispers
This commit introduces chinese_whispers method without any "helpers" on
PHP side. Users needs to take care of everything (building edges from
128D face chip vector, for example), but this is exposed for people
that need low-level call and want to calculate distances and build edges
in PHP directly.
2018-07-19 19:12:39 +02:00
goodspb
b17cd7c945
Merge pull request #3 from stalker314314/cnn_face_detection
Adding support for cnn face detector
2018-07-17 23:16:52 +08:00
Branko Kokanovic
f8cc0e48d3 Adding support for cnn face detector
CNN face detector (deep learning face detection) is modeled as
PHP class. Currently, it only has constructor (which loads a model)
and detect() method. I tried to make it resamble to Python implementation.
Similar to Python, also added support for upsampling. Returned value
is array with numbers as keys where number of keys is equal to number
of found faced. Each element is associative array that has "top", "left",
"right", "bottom" and "detection_confidence" keys.

All errors are propagated using exceptions.

Added two new error tests. I didn't want to rely on presence of model,
so tests are not having great coverage. If we are OK to download models
in tests, it would allow us to have far better coverage.

What is missing:
* Testing with models (should we test that?)
* detect_mult method (similar to what Python have; however, I consider
  that this should not block pushing this change)
2018-07-16 22:34:55 +02:00
goodspb
6cac670269 fix: CMAKEList.txt to help CLion 2018-07-15 23:15:01 +08:00
goodspb
455db02154 feat: add CMAKEList.txt to help CLion 2018-07-15 12:12:36 +08:00
Branko Kokanovic
d12d75c69e Adding configure.in to .gitignore 2018-07-14 00:13:18 +02:00
Branko Kokanovic
fd54bc80c3 Mention -DBUILD_SHARED_LIBS in cmake of dlib
Unless this is added, dlib will not be built using -fPIC and will not be able to be linked with PHP later.
2018-07-03 08:13:15 +02:00
goodspb
77f73deca6
Merge pull request #1 from stalker314314/patch-1
Mention -DBUILD_SHARED_LIBS in cmake of dlib
2018-07-03 00:07:09 +08:00
Branko Kokanovic
fee4a3d922
Mention -DBUILD_SHARED_LIBS in cmake of dlib
Unless this is added, dlib will not be built using -fPIC and will not be able to be linked with PHP later.
2018-07-02 16:41:21 +02:00
goodspb
c0fdf859fd feat: add readme 2018-06-09 20:05:50 +08:00
goodspb
b8f1837335 feat: add face_landmark_detection 2018-05-24 00:56:50 +08:00
goodspb
3e53e4796b fix: change config.m4 2018-05-23 00:01:27 +08:00
goodspb
5539b5bff8 first commit 2018-05-21 01:23:19 +08:00