AIAS/1_image_sdks/classification/dish_sdk/README.md
2023-03-20 23:02:51 +08:00

1.6 KiB

###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?