PHPackages                             tytymnty/megvii-ocr - 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. tytymnty/megvii-ocr

ActiveLibrary

tytymnty/megvii-ocr
===================

OCR SDK for Megvii Cloud

1.0.0(9y ago)036MITPHPPHP &gt;=5.3.0

Since Oct 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/tytymnty/megvii-ocr)[ Packagist](https://packagist.org/packages/tytymnty/megvii-ocr)[ RSS](/packages/tytymnty-megvii-ocr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

MegviiOCR
=========

[](#megviiocr)

Megvii OCR PHP SDK

How to
------

[](#how-to)

```

require_once 'MegviiOCR.php';

use MegviiOCR\MegviiOCR;

$megviiOCR = new MegviiOCR('{YOUR_API_KEY}', '{YOUR_API_SECRET}');

// Detect by local file
$resp = $megviiOCR->execute('ocrvehiclelicense', ['image_file' => '{YOUR_IMAGE_FILE_PATH}']);

// Detect by url
// $resp = $megviiOCR->execute('ocrvehiclelicense', ['image_url' => '{IMAGE_URL}']);

```

If Detect success, return:

```

Array
(
  [http_code] => 200
  [request_url] => https://api.megvii.com/cardpp/v1/ocrvehiclelicense
  [body] => {...} // JSON String
)

```

If fail:

```

Array
(
  [http_code] => 404
  [request_url] => https://api.megvii.com/cardpp/v1/ocrvehiclelicense1
  [body] => {"error_message": "API_NOT_FOUND"}  // JSON String
)

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Unknown

Total

1

Last Release

3495d ago

### Community

Maintainers

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

---

Top Contributors

[![tytymnty](https://avatars.githubusercontent.com/u/3425606?v=4)](https://github.com/tytymnty "tytymnty (3 commits)")

---

Tags

megvii ocrcard ocrid card ocr

### Embed Badge

![Health badge](/badges/tytymnty-megvii-ocr/health.svg)

```
[![Health](https://phpackages.com/badges/tytymnty-megvii-ocr/health.svg)](https://phpackages.com/packages/tytymnty-megvii-ocr)
```

PHPackages © 2026

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