PHP code example of wslibs / faceocr

1. Go to this page and download the library: Download wslibs/faceocr 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/ */

    

wslibs / faceocr example snippets


/*
* 人脸图像1
* 人脸图像2
* 图像类型[BASE64,URL]
*/
FaceOcr::doFaceOcr($img_1,$img_2,'URL');