AIAS/dish_sdk_cpu
2021-07-05 17:31:10 +08:00
..
doc/img Add dishes classification. 2021-07-05 11:38:19 +08:00
lib Add light classification models. 2021-07-05 17:31:10 +08:00
src Add light classification models. 2021-07-05 17:31:10 +08:00
dish_sdk_cpu.iml Add dishes classification. 2021-07-05 11:38:19 +08:00
pom.xml Add dishes classification. 2021-07-05 11:38:19 +08:00
README.md Add light classification models. 2021-07-05 17:31:10 +08:00

菜品分类识别SDK

菜品识别sdk支持8416种菜品的分类识别。

SDK功能

  • 支持8416种菜品的分类识别并给出置信度。
  • 提供两个可用模型例子 1). 大模型(resnet50)例子DishesClassificationExample 2). 小模型(mobilenet_v2)例子LightDishesClassExample

菜品分类

运行例子

  • 测试图片 dish

运行成功后,命令行应该看到下面的信息:

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

帮助

添加依赖库lib/aias-dish-lib-0.1.0.jar