PHPackages                             yelv123/identify-watch - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yelv123/identify-watch

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

yelv123/identify-watch
======================

identify luxury watch.more 5000

081PHP

Since Jun 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yelv123/Identify-watch)[ Packagist](https://packagist.org/packages/yelv123/identify-watch)[ RSS](/packages/yelv123-identify-watch/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Identify-watch
==============

[](#identify-watch)

主要根据腕表表盘照片，识别表款型号（奢侈品）涵盖五万多款表款

获取access\_token
---------------

[](#获取access_token)

**简要描述：**

- 获取access\_token

**请求URL：**

- `/api/Search/getAccessToken`

**请求方式：**

- POST

**参数：**

参数名必选类型说明timestamp是string时间戳signature是string签名appid是string调用接口的appid**返回示例**

```
{
    "code": 200,
    "error": "",
    "errorNo": "",
    "data": {
        "access_token": "3e510c715a45020f808809c9612378fb",
        "expiration_time": 1523346128
    }
}

```

**返回参数说明**

参数名类型说明codestring状态码errorstring错误消息errorNostring错误编码参数名类型说明access\_tokenstring接口票据expiration\_timestring过期时间戳**备注**

```
//签名算法
md5(base64_encode($timestamp.$appId.$appkey.$secretkey))

1、你方服务器与我方服务器 时间相差不能上下相差3分钟
2、expiration_time 时间是票据过期时间 请提前更新票据

```

- 更多返回错误代码请看首页的错误代码描述

识别接口
----

[](#识别接口)

**简要描述：**

- 识别接口

**请求URL：**

- `/api/Search/searchWatchByImage `

**请求方式：**

- POST

**参数：**

参数名必选类型说明image否文件文件 image image\_url 必有其一image\_url否string文件地址 image image\_url 必有其一result\_nums是string获取前几个结果**头：**

参数名必选类型说明appid是stringappidaccess\_token是string票据**返回示例**

```
 {
    "code": 200,
    "error": "",
    "errorNo": "",
    "data": {
        "total": 10,
        "list": [
            {
                "model_id": 2198,
                "model_name": "61.2188.L.6.6.23.6",
                "product_id": 988,
                "score": 1,
                "percent_score": "100%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/Fl_dmXMvkxIQt9x7gv9Xd2pHoB7c",
                "title": "艾米龙净雅61.2188.L.6.6.23.6"
            },
            {
                "model_id": 2196,
                "model_name": "06.2188.L.6.6.28.6",
                "product_id": 986,
                "score": 0.96675962209702,
                "percent_score": "96.68%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/FvgCzKvALAWQYUzf4JgceXalDjeJ",
                "title": "艾米龙净雅06.2188.L.6.6.28.6"
            },
            {
                "model_id": 2199,
                "model_name": "61.2188.L.6.6.28.6",
                "product_id": 989,
                "score": 0.96619343757629,
                "percent_score": "96.62%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/FnoNMAo-BngpLtNUujiTOPgwCObS",
                "title": "艾米龙净雅61.2188.L.6.6.28.6"
            },
            {
                "model_id": 2193,
                "model_name": "06.2188.L.6.6.27.6",
                "product_id": 983,
                "score": 0.85338747501373,
                "percent_score": "85.34%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/FpNlB13bqMzIj2Gf-nSRnSB_IeCO",
                "title": "艾米龙净雅06.2188.L.6.6.27.6"
            },
            {
                "model_id": 2189,
                "model_name": "61.2188.L.6.6.27.6",
                "product_id": 979,
                "score": 0.84152507781982,
                "percent_score": "84.15%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/Fmu-5TLYTzbpfCpNCXraQdWBSWQC",
                "title": "艾米龙净雅61.2188.L.6.6.27.6"
            },
            {
                "model_id": 2186,
                "model_name": "61.2188.L.6.8.27.6",
                "product_id": 976,
                "score": 0.8401153087616,
                "percent_score": "84.01%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/FlBoMiXrUixi4IltdUSWk_LdkPa5",
                "title": "艾米龙净雅61.2188.L.6.8.27.6"
            },
            {
                "model_id": 2200,
                "model_name": "06.2188.L.6.6.28.2",
                "product_id": 990,
                "score": 0.78254270553589,
                "percent_score": "78.25%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/FsAT33JSF0D8dRLGSNNUo4edt9X-",
                "title": "艾米龙净雅06.2188.L.6.6.28.2"
            },
            {
                "model_id": 2191,
                "model_name": "61.2188.L.6.6.28.2",
                "product_id": 981,
                "score": 0.76639664173126,
                "percent_score": "76.64%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/FsKftavR5DsLHpVKWAOYs7mJlQdQ",
                "title": "艾米龙净雅61.2188.L.6.6.28.2"
            },
            {
                "model_id": 46912,
                "model_name": "LS8380-48121",
                "product_id": 48435,
                "score": 0.75549960136414,
                "percent_score": "75.55%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/Fm84RLjkq51oZuFr13Waus6mmtXD",
                "title": "依波路复古LS8380-48121"
            },
            {
                "model_id": 13865,
                "model_name": "GA8102.WWW",
                "product_id": 13058,
                "score": 0.74787712097168,
                "percent_score": "74.79%",
                "sample_photo": "http://p6uhfiem5.bkt.clouddn.com/FqJwP1o-m0L-q4GLzUV0DuQOvxrI",
                "title": "飞亚达恒昱GA8102.WWW"
            }
        ]
    }
}

```

**返回参数说明**

参数名类型说明codestring状态码errorstring错误消息errorNostring错误编码参数名类型说明totalstring条数listarray数据参数名类型说明model\_idstring型号idmodel\_namestring型号名称product\_idstring样本idscorestring相似度percent\_scorestring相识度百分比model\_namestring型号名称titlestring样本标题sample\_photo\_urlstring样本图片访问地址**备注**

- 更多返回错误代码请看首页的错误代码描述

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ec2c9701f4d1d53c697701994bad5f80e2509958aff95a910d2d0f475e6c8a3?d=identicon)[yelv123](/maintainers/yelv123)

---

Top Contributors

[![yelv123](https://avatars.githubusercontent.com/u/20295470?v=4)](https://github.com/yelv123 "yelv123 (10 commits)")

---

Tags

phpphp-library

### Embed Badge

![Health badge](/badges/yelv123-identify-watch/health.svg)

```
[![Health](https://phpackages.com/badges/yelv123-identify-watch/health.svg)](https://phpackages.com/packages/yelv123-identify-watch)
```

###  Alternatives

[yannickl88/features-bundle

Symfony bundle for managing feature tags

1985.5k](/packages/yannickl88-features-bundle)

PHPackages © 2026

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