1. Go to this page and download the library: Download zhusaidong/ysk-plus-sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
$device_ext_info = new DeviceExtInfo();
$ysk->device->create('device_sn', 'device_name', $device_ext_info);
//the face image can be file path or file url
$face_images = [$face_image1, $face_image2];
$ysk->face->create('person_code', 'face_lib_code', 'person_name', [], $face_images);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.