PHPackages                             cym/baiduai - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. cym/baiduai

ActiveLibrary

cym/baiduai
===========

baiduai orc and so on

v1.4(6y ago)0111MITPHPPHP &gt;=5.4.0

Since Jun 25Pushed 6y agoCompare

[ Source](https://github.com/cuiyinming/baiduai)[ Packagist](https://packagist.org/packages/cym/baiduai)[ RSS](/packages/cym-baiduai/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (5)Used By (0)

baiduai
=======

[](#baiduai)

百度ai,支持对5.6的版本支持

安装
==

[](#安装)

composer require cym/baiduai

使用
==

[](#使用)

$ai = new Ai('app\_id', 'api\_key', 'api\_secret'); $ocr = $ai-&gt;Ocr();

\#人脸识别

```

$option = [
        "face_field" => "age,beauty,expression,face_shape,gender,glasses,landmark,landmark72,landmark150,race,quality,eye_status,emotion,face_type",
        "max_face_num" => 1,
        "face_type" => 'LIVE'
    ];
];
其中url为远程图片地址
$face = $ai->Face()->detect($url, 'URL', $option);

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

2515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e319e0d107d588cf6715f50452202957cbec7078ebe480a288229b7729078089?d=identicon)[cuiyinming](/maintainers/cuiyinming)

---

Top Contributors

[![sir-ymc](https://avatars.githubusercontent.com/u/22387965?v=4)](https://github.com/sir-ymc "sir-ymc (1 commits)")

### Embed Badge

![Health badge](/badges/cym-baiduai/health.svg)

```
[![Health](https://phpackages.com/badges/cym-baiduai/health.svg)](https://phpackages.com/packages/cym-baiduai)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
