2021-06-10 09:42:40 +08:00
|
|
|
|
# 图像识别快速开始
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
本文档包含3个部分:环境配置、图像识别体验、未知类别的图像识别体验。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
如果图像类别已经存在于图像索引库中,那么可以直接参考[图像识别体验](#图像识别体验)章节,完成图像识别过程;如果希望识别未知类别的图像,即图像类别之前不存在于索引库中,那么可以参考[未知类别的图像识别体验](#未知类别的图像识别体验)章节,完成建立索引并识别的过程。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
## 目录
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
* [1. 环境配置](#环境配置)
|
|
|
|
|
* [2. 图像识别体验](#图像识别体验)
|
|
|
|
|
* [2.1 下载、解压inference 模型与demo数据](#下载、解压inference_模型与demo数据)
|
2021-06-17 20:14:41 +08:00
|
|
|
|
* [2.2 商品别与检索](#商品识别与检索)
|
2021-06-16 14:14:20 +08:00
|
|
|
|
* [2.2.1 识别单张图像](#识别单张图像)
|
|
|
|
|
* [2.2.2 基于文件夹的批量识别](#基于文件夹的批量识别)
|
|
|
|
|
* [3. 未知类别的图像识别体验](#未知类别的图像识别体验)
|
2021-06-17 16:57:30 +08:00
|
|
|
|
* [3.1 准备新的数据与标签](#准备新的数据与标签)
|
|
|
|
|
* [3.2 建立新的索引库](#建立新的索引库)
|
|
|
|
|
* [3.3 基于新的索引库的图像识别](#基于新的索引库的图像识别)
|
2021-06-10 12:11:01 +08:00
|
|
|
|
|
2021-06-10 12:10:26 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
<a name="环境配置"></a>
|
|
|
|
|
## 1. 环境配置
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
* 安装:请先参考[快速安装](./install.md)配置PaddleClas运行环境。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
* 进入`deploy`运行目录。本部分所有内容与命令均需要在`deploy`目录下运行,可以通过下面的命令进入`deploy`目录。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
```
|
|
|
|
|
cd deploy
|
|
|
|
|
```
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
<a name="图像识别体验"></a>
|
|
|
|
|
## 2. 图像识别体验
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
检测模型与4个方向(Logo、动漫人物、车辆、商品)的识别inference模型、测试数据下载地址以及对应的配置文件地址如下。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
| 模型简介 | 推荐场景 | 测试数据地址 | inference模型 | 预测配置文件 | 构建索引库的配置文件 |
|
|
|
|
|
| ------------ | ------------- | ------- | -------- | ------- | -------- |
|
|
|
|
|
| 通用主体检测模型 | 通用场景 | - |[模型下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/ppyolov2_r50vd_dcn_mainbody_v1.0_infer.tar) | - | - |
|
|
|
|
|
| Logo识别模型 | Logo场景 | [数据下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/data/logo_demo_data_v1.0.tar) | [模型下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/logo_rec_ResNet50_Logo3K_v1.0_infer.tar) | [inference_logo.yaml](../../../deploy/configs/inference_logo.yaml) | [build_logo.yaml](../../../deploy/configs/build_logo.yaml) |
|
|
|
|
|
| 动漫人物识别模型 | 动漫人物场景 | [数据下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/data/cartoon_demo_data_v1.0.tar) | [模型下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/cartoon_rec_ResNet50_iCartoon_v1.0_infer.tar) | [inference_cartoon.yaml](../../../deploy/configs/inference_cartoon.yaml) | [build_cartoon.yaml](../../../deploy/configs/build_cartoon.yaml) |
|
|
|
|
|
| 车辆细分类模型 | 车辆场景 | [数据下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/data/vehicle_demo_data_v1.0.tar) | [模型下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/vehicle_cls_ResNet50_CompCars_v1.0_infer.tar) | [inference_vehicle.yaml](../../../deploy/configs/inference_vehicle.yaml) | [build_vehicle.yaml](../../../deploy/configs/build_vehicle.yaml) |
|
2021-06-16 17:29:08 +08:00
|
|
|
|
| 商品识别模型 | 商品场景 | [数据下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/data/product_demo_data_v1.0.tar) | [模型下载链接](https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/product_ResNet50_vd_aliproduct_v1.0_infer.tar) | [inference_product.yaml](../../../deploy/configs/inference_product.yaml) | [build_product.yaml](../../../deploy/configs/build_product.yaml) |
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
|
2021-06-17 22:11:23 +08:00
|
|
|
|
**注意**
|
|
|
|
|
1. windows 环境下如果没有安装wget,可以按照下面的步骤安装wget与tar命令,也可以在,下载模型时将链接复制到浏览器中下载,并解压放置在相应目录下;linux或者macOS用户可以右键点击,然后复制下载链接,即可通过`wget`命令下载。
|
|
|
|
|
2. 如果macOS环境下没有安装`wget`命令,可以运行下面的命令进行安装。
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
# 安装 homebrew
|
|
|
|
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
|
|
|
|
|
# 安装wget
|
|
|
|
|
brew install wget
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
3. 如果希望在windows环境下安装wget,可以参考:[链接](https://www.cnblogs.com/jeshy/p/10518062.html);如果希望在windows环境中安装tar命令,可以参考:[链接](https://www.cnblogs.com/chooperman/p/14190107.html)。
|
|
|
|
|
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
* 可以按照下面的命令下载并解压数据与模型
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
mkdir dataset
|
|
|
|
|
cd dataset
|
|
|
|
|
# 下载demo数据并解压
|
2021-06-16 14:14:20 +08:00
|
|
|
|
wget {数据下载链接地址} && tar -xf {压缩包的名称}
|
2021-06-10 09:42:40 +08:00
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
mkdir models
|
|
|
|
|
cd models
|
|
|
|
|
# 下载识别inference模型并解压
|
2021-06-16 14:14:20 +08:00
|
|
|
|
wget {模型下载链接地址} && tar -xf {压缩包的名称}
|
2021-06-10 09:42:40 +08:00
|
|
|
|
cd ..
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
<a name="下载、解压inference_模型与demo数据"></a>
|
|
|
|
|
### 2.1 下载、解压inference 模型与demo数据
|
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
以商品识别为例,下载通用检测、识别模型以及商品识别demo数据,命令如下。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
```shell
|
2021-06-18 10:50:56 +08:00
|
|
|
|
mkdir dataset
|
|
|
|
|
cd dataset
|
|
|
|
|
# 下载demo数据并解压
|
|
|
|
|
wget https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/data/product_demo_data_v1.0.tar && tar -xf product_demo_data_v1.0.tar
|
|
|
|
|
cd ..
|
|
|
|
|
|
2021-06-10 09:42:40 +08:00
|
|
|
|
mkdir models
|
|
|
|
|
cd models
|
|
|
|
|
# 下载通用检测inference模型并解压
|
|
|
|
|
wget https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/ppyolov2_r50vd_dcn_mainbody_v1.0_infer.tar && tar -xf ppyolov2_r50vd_dcn_mainbody_v1.0_infer.tar
|
2021-06-16 14:14:20 +08:00
|
|
|
|
# 下载识别inference模型并解压
|
2021-06-17 16:57:30 +08:00
|
|
|
|
wget https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/rec/models/inference/product_ResNet50_vd_aliproduct_v1.0_infer.tar && tar -xf product_ResNet50_vd_aliproduct_v1.0_infer.tar
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
解压完毕后,`dataset`文件夹下应有如下文件结构:
|
|
|
|
|
|
|
|
|
|
```
|
2021-06-17 16:57:30 +08:00
|
|
|
|
├── product_demo_data_v1.0
|
2021-06-10 09:42:40 +08:00
|
|
|
|
│ ├── data_file.txt
|
|
|
|
|
│ ├── gallery
|
|
|
|
|
│ ├── index
|
|
|
|
|
│ └── query
|
|
|
|
|
├── ...
|
|
|
|
|
```
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
其中`data_file.txt`是用于构建索引库的图像列表文件,`gallery`文件夹中是所有用于构建索引库的图像原始文件,`index`文件夹中是构建索引库生成的索引文件,`query`是用来测试识别效果的demo图像。
|
|
|
|
|
|
2021-06-10 09:42:40 +08:00
|
|
|
|
`models`文件夹下应有如下文件结构:
|
|
|
|
|
|
|
|
|
|
```
|
2021-06-17 16:57:30 +08:00
|
|
|
|
├── product_ResNet50_vd_aliproduct_v1.0_infer
|
2021-06-10 09:42:40 +08:00
|
|
|
|
│ ├── inference.pdiparams
|
|
|
|
|
│ ├── inference.pdiparams.info
|
|
|
|
|
│ └── inference.pdmodel
|
|
|
|
|
├── ppyolov2_r50vd_dcn_mainbody_v1.0_infer
|
|
|
|
|
│ ├── inference.pdiparams
|
|
|
|
|
│ ├── inference.pdiparams.info
|
|
|
|
|
│ └── inference.pdmodel
|
|
|
|
|
```
|
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
<a name="商品识别与检索"></a>
|
|
|
|
|
### 2.2 商品识别与检索
|
2021-06-16 14:14:20 +08:00
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
以商品识别demo为例,展示识别与检索过程(如果希望尝试其他方向的识别与检索效果,在下载解压好对应的demo数据与模型之后,替换对应的配置文件即可完成预测)。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
<a name="识别单张图像"></a>
|
|
|
|
|
#### 2.2.1 识别单张图像
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
运行下面的命令,对图像`./dataset/product_demo_data_v1.0/query/wangzai.jpg`进行识别与检索
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
```shell
|
2021-06-17 20:14:41 +08:00
|
|
|
|
# 使用下面的命令使用GPU进行预测
|
2021-06-17 16:57:30 +08:00
|
|
|
|
python3.7 python/predict_system.py -c configs/inference_product.yaml
|
2021-06-17 20:14:41 +08:00
|
|
|
|
# 使用下面的命令使用CPU进行预测
|
|
|
|
|
python3.7 python/predict_system.py -c configs/inference_product.yaml -o Global.use_gpu=False
|
2021-06-10 09:42:40 +08:00
|
|
|
|
```
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
待检索图像如下所示。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
<div align="center">
|
2021-06-17 16:57:30 +08:00
|
|
|
|
<img src="../../images/recognition/product_demo/wangzai.jpg" width = "400" />
|
2021-06-16 14:14:20 +08:00
|
|
|
|
</div>
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
|
|
|
|
|
最终输出结果如下。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
```
|
2021-06-17 16:57:30 +08:00
|
|
|
|
[{'bbox': [305, 226, 776, 930], 'rec_docs': ['旺仔牛奶', '旺仔牛奶', '旺仔牛奶', '旺仔牛奶', '康师傅方便面'], 'rec_scores': array([1328.1072998 , 1185.92248535, 846.88220215, 746.28546143 622.2668457 ])}
|
2021-06-10 09:42:40 +08:00
|
|
|
|
```
|
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
其中bbox表示检测出的主体所在位置,rec_docs表示索引库中与检出主体最相近的若干张图像对应的标签,rec_scores表示对应的相似度。由rec_docs字段可以看出,返回的5个结果中,有4个为`旺仔牛奶`,识别正确。
|
|
|
|
|
|
|
|
|
|
检测的可视化结果也保存在`output`文件夹下。
|
|
|
|
|
|
|
|
|
|
<div align="center">
|
|
|
|
|
<img src="../../images/recognition/product_demo/wangzai_det_result.jpg" width = "400" />
|
|
|
|
|
</div>
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
<a name="基于文件夹的批量识别"></a>
|
|
|
|
|
#### 2.2.2 基于文件夹的批量识别
|
|
|
|
|
|
|
|
|
|
如果希望预测文件夹内的图像,可以直接修改配置文件中的`Global.infer_imgs`字段,也可以通过下面的`-o`参数修改对应的配置。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
```shell
|
2021-06-17 20:14:41 +08:00
|
|
|
|
# 使用下面的命令使用GPU进行预测,如果希望使用CPU预测,可以在命令后面添加-o Global.use_gpu=False
|
2021-06-17 16:57:30 +08:00
|
|
|
|
python3.7 python/predict_system.py -c configs/inference_product.yaml -o Global.infer_imgs="./dataset/product_demo_data_v1.0/query/"
|
2021-06-10 09:42:40 +08:00
|
|
|
|
```
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
更多地,可以通过修改`Global.rec_inference_model_dir`字段来更改识别inference模型的路径,通过修改`IndexProcess.index_path`字段来更改索引库索引的路径。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name="未知类别的图像识别体验"></a>
|
|
|
|
|
## 3. 未知类别的图像识别体验
|
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
对图像`./dataset/product_demo_data_v1.0/query/anmuxi.jpg`进行识别,命令如下
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
```shell
|
2021-06-17 20:14:41 +08:00
|
|
|
|
# 使用下面的命令使用GPU进行预测,如果希望使用CPU预测,可以在命令后面添加-o Global.use_gpu=False
|
2021-06-17 16:57:30 +08:00
|
|
|
|
python3.7 python/predict_system.py -c configs/inference_product.yaml -o Global.infer_imgs="./dataset/product_demo_data_v1.0/query/anmuxi.jpg"
|
2021-06-16 14:14:20 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
待检索图像如下所示。
|
|
|
|
|
|
|
|
|
|
<div align="center">
|
2021-06-17 16:57:30 +08:00
|
|
|
|
<img src="../../images/recognition/product_demo/anmuxi.jpg" width = "400" />
|
2021-06-16 14:14:20 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
输出结果如下
|
|
|
|
|
|
|
|
|
|
```
|
2021-06-17 16:57:30 +08:00
|
|
|
|
[{'bbox': [243, 80, 523, 522], 'rec_docs': ['娃哈哈AD钙奶', '旺仔牛奶', '娃哈哈AD钙奶', '农夫山泉矿泉水', '红牛'], 'rec_scores': array([548.33282471, 411.85687256, 408.39770508, 400.89404297, 360.41540527])}]
|
2021-06-10 09:42:40 +08:00
|
|
|
|
```
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
由于默认的索引库中不包含对应的索引信息,所以这里的识别结果有误,此时我们可以通过构建新的索引库的方式,完成未知类别的图像识别。
|
|
|
|
|
|
|
|
|
|
当索引库中的图像无法覆盖我们实际识别的场景时,即在预测未知类别的图像时,我们需要将对应类别的相似图像添加到索引库中,从而完成对未知类别的图像识别,这一过程是不需要重新训练的。
|
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
<a name="准备新的数据与标签"></a>
|
|
|
|
|
### 3.1 准备新的数据与标签
|
|
|
|
|
|
|
|
|
|
首先需要将与待检索图像相似的图像列表拷贝到索引库原始图像的文件夹(`./dataset/product_demo_data_v1.0.0/gallery`)中,运行下面的命令拷贝相似图像。
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
cp -r ../docs/images/recognition/product_demo/gallery/anmuxi ./dataset/product_demo_data_v1.0/gallery/
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
然后需要编辑记录了图像路径和标签信息的文本文件(`./dataset/product_demo_data_v1.0/data_file.txt`),这里基于原始标签文件,新建一个文件。命令如下。
|
|
|
|
|
|
|
|
|
|
```shell
|
|
|
|
|
# 复制文件
|
|
|
|
|
cp dataset/product_demo_data_v1.0/data_file.txt dataset/product_demo_data_v1.0/data_file_update.txt
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
然后在文件`dataset/product_demo_data_v1.0/data_file_update.txt`中添加以下的信息,
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
gallery/anmuxi/001.jpg 安慕希酸奶
|
|
|
|
|
gallery/anmuxi/002.jpg 安慕希酸奶
|
|
|
|
|
gallery/anmuxi/003.jpg 安慕希酸奶
|
|
|
|
|
gallery/anmuxi/004.jpg 安慕希酸奶
|
|
|
|
|
gallery/anmuxi/005.jpg 安慕希酸奶
|
|
|
|
|
gallery/anmuxi/006.jpg 安慕希酸奶
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
每一行的文本中,第一个字段表示图像的相对路径,第二个字段表示图像对应的标签信息,中间用`空格符`分隔开。
|
|
|
|
|
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
<a name="建立新的索引库"></a>
|
|
|
|
|
### 3.2 建立新的索引库
|
2021-06-16 14:14:20 +08:00
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
使用下面的命令构建index索引,加速识别后的检索过程。
|
2021-06-16 14:14:20 +08:00
|
|
|
|
|
|
|
|
|
```shell
|
2021-06-17 16:57:30 +08:00
|
|
|
|
python3.7 python/build_gallery.py -c configs/build_product.yaml -o IndexProcess.data_file="./dataset/product_demo_data_v1.0/data_file_update.txt" -o IndexProcess.index_path="./dataset/product_demo_data_v1.0/index_update"
|
2021-06-10 09:42:40 +08:00
|
|
|
|
```
|
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
最终新的索引信息保存在文件夹`./dataset/product_demo_data_v1.0/index_update`中。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
<a name="基于新的索引库的图像识别"></a>
|
2021-06-17 16:57:30 +08:00
|
|
|
|
### 3.3 基于新的索引库的图像识别
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
使用新的索引库,对上述图像进行识别,运行命令如下。
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-16 14:14:20 +08:00
|
|
|
|
```shell
|
2021-06-17 20:14:41 +08:00
|
|
|
|
# 使用下面的命令使用GPU进行预测,如果希望使用CPU预测,可以在命令后面添加-o Global.use_gpu=False
|
2021-06-17 16:57:30 +08:00
|
|
|
|
python3.7 python/predict_system.py -c configs/inference_product.yaml -o Global.infer_imgs="./dataset/product_demo_data_v1.0/query/anmuxi.jpg" -o IndexProcess.index_path="./dataset/product_demo_data_v1.0/index_update"
|
2021-06-16 14:14:20 +08:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
输出结果如下。
|
|
|
|
|
|
|
|
|
|
```
|
2021-06-17 16:57:30 +08:00
|
|
|
|
[{'bbox': [243, 80, 523, 522], 'rec_docs': ['安慕希酸奶', '娃哈哈AD钙奶', '安慕希酸奶', '安慕希酸奶', '安慕希酸奶'], 'rec_scores': array([1214.9597168 , 548.33282471, 547.82104492, 535.13201904, 471.52706909])}]
|
2021-06-16 14:14:20 +08:00
|
|
|
|
```
|
2021-06-10 09:42:40 +08:00
|
|
|
|
|
2021-06-17 16:57:30 +08:00
|
|
|
|
返回的5个结果中,有4个为`安慕希酸奶`,识别结果正确。
|