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.
14 lines
322 B
C
14 lines
322 B
C
//
|
|
// Created by branko at kokanovic dot org on 2018/7/19.
|
|
//
|
|
|
|
#ifndef PHP_DLIB_CHINESE_WHISPERS_H
|
|
#define PHP_DLIB_CHINESE_WHISPERS_H
|
|
|
|
ZEND_BEGIN_ARG_INFO_EX(dlib_chinese_whispers_arginfo, 0, 0, 1)
|
|
ZEND_ARG_INFO(0, edges)
|
|
ZEND_END_ARG_INFO()
|
|
PHP_FUNCTION(dlib_chinese_whispers);
|
|
|
|
#endif //PHP_DLIB_CHINESE_WHISPERS_H
|