Download the PHP package immportalchensm/tximage without Composer

On this page you can find all versions of the php package immportalchensm/tximage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tximage

tencentyun/image-php-sdk-v2.0

腾讯云 人工智能图像识别 SDK for PHP 本人集合了图像识别sdk和API中心的接口源码
源码均来自于腾迅的SDK!!!

安装(直接下载源码集成)

直接下载源码集成

从github下载源码,并加载image-php-sdk-v2.0/index.php就可以了。 调用请参考sample.php

1. 在腾讯云申请业务的授权

授权包括: ​
APP_ID SECRET_ID SECRET_KEY BUCKET

2. 创建对应操作类的对象

如果要使用图片,需要创建图片操作类对象

require_once __DIR__ . '/index.php';
use QcloudImage\CIClient;

$client = new CIClient('APP_ID', 'SECRET_ID', 'SECRET_KEY', 'BUCKET');
$client->setTimeout(30);

3. 调用对应的方法

在创建完对象后,根据实际需求,调用对应的操作方法就可以了。sdk提供的方法包括:图片识别、人脸识别及人脸核身等。

3.1 图片识别

图片识别包括:

图片鉴黄、图片标签;

文字识别系列(OCR):

身份证, 名片, 行驶证, 驾驶证, 车牌号, 银行卡, 营业执照, 印刷体, 手写体;

人脸识别系列:

人脸检测, 五官定位,

图片鉴黄
图片标签
OCR-身份证识别
OCR-名片识别

3.2 人脸识别

人脸识别包括:人脸检测、五官定位、个体信息管理、人脸验证、人脸对比及人脸检索。

人脸检测

五官定位
个体信息管理
人脸验证

给定一个Face和一个Person,返回是否是同一个人的判断以及置信度

人脸检索

对于一个待识别的人脸图片,在一个Group中识别出最相似的Top5 Person作为其身份返回,返回的Top5中按照相似度从大到小排列。

人脸对比

3.3 人脸核身

身份证识别对比
活体检测—获取唇语验证码
活体检测-视频与用户照片的比对
活体检测-视频与身份证高清照片的比对

本扩展包集合了tencent Cloud SDK

[具体链接](https://cloud.tencent.com/document/api/1007/33848)  
以下是我自己测试的两个接口   

具体调试源码

测试时如果出现错误就把curl 证书给禁用掉!
curl源码修改位置

PS:该SDK由腾迅官方提供,本人自己整理了一份便于使用!


All versions of tximage with dependencies

PHP Build Version
Package Version
Requires tencentcloud/tencentcloud-sdk-php Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package immportalchensm/tximage contains the following files

Loading the files please wait ....