Select Language

AI社区

TagableDB-坚果数据集

柿子饼数据集12.6

    基础信息:

  • 数据集ID:1
  • 分类ID:36033
  • 数据集版本:V1.0
  • 图像数量:18

    数据特征:

  • 标注类型:2D矩形框
  • 数据集格式:JSON
  • 准确率:99.999%
  • Label数量:45
  • Label特点:API动态更新
立即购买
0
注-数据集使用方式:
1、支持数据集下载,本地化应用。(不支持Attribute动态更新)
2、支持远程调用,通过API进行调用。(支持Attribute动态更新,attribute更新后通过API即可获取)

TagableDB-坚果数据集浏览完毕

重新浏览








接口地址:https://www.payititi.com/api/nutdb/

返回格式:json

请求方式:get

请求示例:https://www.payititi.com/api/nutdb/?key=您申请的KEY&id=数据集ID

请求参数:

名称 类型 必填 说明
key string 申请接口时获取的key( 注册账号获取key)
id bigint 数据集ID

返回参数说明:

名称 说明
StateCode 状态码
message 状态说明
basicdata 数据集基础信息
metadata 图像元数据
labeldata 图像标注数据
attribute basicinformation(基础信息)
nutrientcontent(营养成分含量)
vitamin(维生素)
mineral(矿物质)
dimensioninformation(尺寸信息)
ediblepopulation(人群特点)
ediblemethod(食用方法)

JSON数据字段描述:

属性 字段名 概述 示例
basicdata
(项目基础信息)
pid 项目ID "basicdata": {
"pid": "pytt_project_14", //项目ID
"attributeid": "4842", //数据集ID
"name": "演示数据", //项目名称
"creator": "uci-edu", //创建者
"created": 1630115179637, //创建时间
"vid_list": ["2"]//图像列表ID
},
categoryid 数据分类ID
name 项目名称
creator 创建者
created 创建时间
vid_list 图像列表
metadata
(图像元数据)
fid 图像ID "metadata": {
"2": {//图像ID
"fid": "2", //图像ID
"fname": "演示数据-1",//图像名称
"type": 2, //图像类型
"loc": 2, //路径类型
"src": "https://www.payititi.com/file/upload/202108/28/0945515861.png"//文件路径
}
},
fname 图像名称
type 类型
loc 路径类型
src 文件路径
labeldata
(标注数据)
vid 图像ID "labeldata": {
  "2_U4YIzGUM": {
"vid": "2", //图像ID
"z": [ ], //图像Z值
"xy": [2,51.519,11.028,91.186,83.121],//示例1:2为深度,数据依次为[depth,xmin,ymin,width,height]
"xy": [2,217.545,160.939,315.218,73.255,315.218,265.272],//示例2:2为深度,数据依次为[depth,x1.y1,x2.y2,x3.y3,......]
"av": {"2": "0"}//图像属性("2"为属ID,"0"为属性值)
   }
},
z  
xy 坐标点数据
av 属性数据
attribute
(图像属性数据)
attribute 属性列表
    "attribute": {
      "basicinformation": [
        {
          "title": "龙眼",
          "alias": "桂圆、三尺农味、益智",
          "latinname": "Dimocarpus longan Lour.",
          "circles": "植物界",
          "door": "被子植物门",
          "outline": "双子叶植物纲",
          "orders": "无患子目",
          "suborder": "",
          "section": "无患子科",
          "genus": "龙眼属",
          "englishname": "",
          "placeoforigin": "",
          "subclass": "原始花被亚纲",
          "species": "",
          "namer": "",
          "namedage": ""
        }
      ],
      "nutrientcontent": [
        {
          "quantityofheat": "60千卡",
          "protein": "1.3g",
          "fat": "0.1g",
          "carbohydrate": "15.1g",
          "dietaryfiber": "1.1g",
          "thiamine": "",
          "nicotinicacid": "",
          "nicotinicacidnicotinamide": "0.3mg",
          "insolubledietaryfiber": "",
          "carotene": ""
        }
      ],
      "vitamin": [
        {
          "vitaminb1thiamine": "0.03mg",
          "vitamincascorbicacid": "84mg",
          "vitaminb2riboflavin": "0.14mg",
          "vitamina": "",
          "vitamine": ""
        }
      ],
      "mineral": [
        {
          "calcium": "1mg",
          "potassium": "266mg",
          "sodium": "",
          "magnesium": "10mg",
          "iron": "0.1mg",
          "zinc": "0.05mg",
          "selenium": "",
          "copper": "",
          "manganese": "",
          "phosphorus": "21mg"
        }
      ],
      "dimensioninformation": [
        {
          "length": "",
          "width": "",
          "height": "",
          "thickness": "",
          "radius": ""
        }
      ],
      "ediblepopulation": [
        {
          "suitablepopulation": "",
          "taboopopulation": ""
        }
      ],
      "ediblemethod": [
        {
          "ediblemethod": "",
          "edibleefficacy": "",
          "foodphasegram": ""
        }
      ]
    }

JSON返回示例:

{
  "StateCode": "10001",
  "message": "数据调用成功",
  "data": {
    "basicdata": {
      "pid": "pytt_project_2",
      "attributeid": "2",
      "name": "松子数据集",
      "creator": "uci-edu",
      "created": 1632577889633,
      "vid_list": [
        "2"
      ]
    },
    "metadata": {
      "2": {
        "fid": "2",
        "fname": "松子数据集-1",
        "type": 2,
        "loc": 2,
        "src": "https://www.payititi.com/file/upload/202109/25/2145519861.jpg"
      }
    },
    "labeldata": {
      "2_ygoIl6kJ": {
        "vid": "2",
        "z": [],
        "xy": [
          2,
          492.919,
          412.621,
          66.783,
          46.907
        ],
        "av": []
      },
      "2_y8U0e68X": {
        "vid": "2",
        "z": [],
        "xy": [
          2,
          86.658,
          411.031,
          54.062,
          65.193
        ],
        "av": []
      }
    },
    "attribute": {
      "basicinformation": [
        {
          "title": "龙眼数据集",
          "alias": "桂圆、三尺农味、益智",
          "latinname": "Dimocarpus longan Lour.",
          "circles": "植物界",
          "door": "被子植物门",
          "outline": "双子叶植物纲",
          "orders": "无患子目",
          "suborder": "",
          "section": "无患子科",
          "genus": "龙眼属",
          "englishname": "",
          "placeoforigin": "",
          "subclass": "原始花被亚纲",
          "species": "",
          "namer": "",
          "namedage": ""
        }
      ],
      "nutrientcontent": [
        {
          "quantityofheat": "60千卡",
          "protein": "1.3g",
          "fat": "0.1g",
          "carbohydrate": "15.1g",
          "dietaryfiber": "1.1g",
          "thiamine": "",
          "nicotinicacid": "",
          "nicotinicacidnicotinamide": "0.3mg",
          "insolubledietaryfiber": "",
          "carotene": ""
        }
      ],
      "vitamin": [
        {
          "vitaminb1thiamine": "0.03mg",
          "vitamincascorbicacid": "84mg",
          "vitaminb2riboflavin": "0.14mg",
          "vitamina": "",
          "vitamine": ""
        }
      ],
      "mineral": [
        {
          "calcium": "1mg",
          "potassium": "266mg",
          "sodium": "",
          "magnesium": "10mg",
          "iron": "0.1mg",
          "zinc": "0.05mg",
          "selenium": "",
          "copper": "",
          "manganese": "",
          "phosphorus": "21mg"
        }
      ],
      "dimensioninformation": [
        {
          "length": "",
          "width": "",
          "height": "",
          "thickness": "",
          "radius": ""
        }
      ],
      "ediblepopulation": [
        {
          "suitablepopulation": "",
          "taboopopulation": ""
        }
      ],
      "ediblemethod": [
        {
          "ediblemethod": "",
          "edibleefficacy": "",
          "foodphasegram": ""
        }
      ]
    }
  }
}
错误代码 说明
10001 成功
10004 未购买过数据
10005 数据集ID错误
10006 KEY不正确
10012 系统内部异常,请重试
10013 通道请求超时