AIAS/1_image_sdks/classification/dish_sdk
2023-03-21 20:46:31 +08:00
..
doc/img no message 2021-10-03 22:25:35 +08:00
models load model from local disk instead of http url 2023-03-20 13:56:52 +08:00
src update english comments 2023-03-21 20:46:31 +08:00
dish-sdk.iml upgrade to 0.17.0 2022-05-28 14:48:33 +08:00
dishes_sdk.iml update engine version to 0.13.0 2021-10-16 16:45:38 +08:00
pom.xml upgrade to 0.17.0 2022-05-28 14:48:33 +08:00
README_cn.md initial version - writing english doc. 2023-03-20 17:07:14 +08:00
README.md update readme. 2023-03-20 23:02:51 +08:00

###Download models and place them in the /models directory

Dish Classification Recognition SDK

The dish recognition SDK supports the classification recognition of 8416 kinds of dishes.

SDK Functions

-Supports the classification recognition of 8416 kinds of dishes and provides confidence levels. -Provides two available model examples

  1. Example of the large model (resnet50): DishesClassificationExample
  2. Example of the small model (mobilenet_v2): LightDishesClassExample

Dish Classification

Running Examples

-Test image dish

After successful execution, the command line should display the following information:

清炒虾仁 : 1.0
[INFO ] - [
	class: "清炒虾仁", probability: 1.00000
	class: "豆炒虾仁", probability: 0.84546
	class: "西芹果仁炒虾", probability: 0.34755
	class: "瓜炒虾仁", probability: 0.21187
	class: "炒芦笋", probability: 0.19085
]

Open source algorithms

1. Open source algorithms used in the SDK

PaddleClas

2. How to export models?