首页 > 其他分享 >COCO-WholeBody 注释详解

COCO-WholeBody 注释详解

时间:2022-11-24 20:11:25浏览次数:70  
标签:kpts images list face WholeBody 详解 COCO lefthand valid

官方数据集说明:https://github.com/jin-s13/COCO-WholeBody

1. 如何预览 json 文件?

使用 Vscode,右键 格式化文档即可。

2. 字段解读

2.1 关键字段之 "images"
"images": [
    {
        "license": 4,
        "file_name": "000000397133.jpg",
        "coco_url": "http://images.cocodataset.org/val2017/000000397133.jpg",
        "height": 427,
        "width": 640,
        "date_captured": "2013-11-14 17:02:52",
        "flickr_url": "http://farm7.staticflickr.com/6116/6255196340_da26cf2c9e_z.jpg",
        "id": 397133 # 图像名字中的数字
    },
	...

上述 "images" 字段的个数是 图像的个数。

2.2 关键字段之 "annotations"

image

"segmentation": [[实例分割的点]],
"num_keypoints": 10, # 有效的标注的身体关键点, (v>0), (e.g. crowds and small objects, will have num_keypoints=0).
"area": 47803.27955, # 身体的 bbox 的面积
"iscrowd": 0,
"keypoints": [17*3], # (x,y,v) # a visibility flag v defined as v=0: not labeled (in which case x=y=0), v=1: labeled but not visible, and v=2: labeled and visible. A keypoint is considered visible if it falls inside the object segment.
"image_id": 425226,  # 对应 images 中的 id
"bbox": [], # 身体的 bbox,(x,y,w,h) 左上角,宽高
"category_id": 1, # 物体的类别
"id": 183126, # 关键:目标的唯一编号
"face_box": [], 
"lefthand_box": [],
"righthand_box": [],
"lefthand_kpts": [21*3]
"righthand_kpts": [
	308.0,
	239.0,
	0.1408521831035614,
	...
], # 21*3 (xyv) hand 的 v 的含义与 其他的关键点不同点在于:v 有时候是 小于1 的小数,v>0 means that the keypoint is reliable.
"face_kpts": [68*3], #(x,y,v)v 含义同 body 关键点
# The validity of the face/hand/foot are used to minimize the labelling uncertainty. Only if the face/hand images are clear enough for keypoint labeling (for annotators), the validity is True, otherwise False. Invalid cases may include severely blur or occlusion. We only label keypoints/boxes for valid cases. Invalid boxes/keypoints are simply set as all-zero arrays.
"face_valid": false,
"lefthand_valid": true,
"righthand_valid": true,
"foot_valid": true,
"foot_kpts": [6*3] #(x,y,v)v 含义同 body 关键点
简记为
annotation{

"face_box": list([x, y, w, h]),
"lefthand_box": list([x, y, w, h]),
"righthand_box": list([x, y, w, h]),

"foot_kpts": list([x, y, v] * 6),
"face_kpts": list([x, y, v] * 68),
"lefthand_kpts": list([x, y, v] * 21),
"righthand_kpts": list([x, y, v] * 21),

"face_valid": bool,
"lefthand_valid": bool,
"righthand_valid": bool,
"foot_valid": bool,

"[cloned]": ...,
}

categories[{
"[cloned]": ...,
}]

参考:

  1. https://gitee.com/mirrors_jin-s13/COCO-WholeBody/blob/master/data_format.md

标签:kpts,images,list,face,WholeBody,详解,COCO,lefthand,valid
From: https://www.cnblogs.com/odesey/p/16922992.html

相关文章

  • @Aspect 注解使用详解
    AOP为AspectOrientedProgramming的缩写,意为:面向切面编程,通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术.AOP是​​OOP​​​的延续,是软件开发中的一个......
  • golang 反向代理 Gin框架反向代理详解
    前言想用gin框架做一个反向代理服务,搜索了一圈,全是只讲解些皮毛的帖子,今天我就总结一下gin做反向代理的详细操作和原理正文开始之前我们先了解一些前置知识gin的通配符......
  • 网络性能评估工具Iperf详解
     一、网络性能评估工具Iperf网络性能评估主要是监测网络带宽的使用率,将网络带宽利用最大化是保证网络性能的基础,但是由于网络设计不合理、网络存在安全漏洞等原因,都会导......
  • SD NAND 的 SDIO在STM32上的应用详解(中篇)
    四.SDIO功能框图(重点)SDIO包含2个部分:●SDIO适配器模块:实现所有MMC/SD/SDI/O卡的相关功能,如时钟的产生、命令和数据的传送。●AHB总线接口:操作SDIO适配器模块中的寄存器......
  • VC++模拟键盘输入(keybd_event() 、 PostMessage() /SendMessage()、SendInput())详解
                                           VC++模拟键盘输入找了一周,终于找到模拟键......
  • pat 并查集题目代码详解
    不得不吐槽并查集的题太少了1118:1//一道并查集查询的题目2//需要注意的几个点3//输入的时候在进行合并时,是一个一个输入的,所以需要引入一个变量来存储前一个输......
  • pat 散列题目代码详解
    1002:1//思路很简单,存哈希表直接计算就可以了2//需要注意的几个点3//求最高次数的时候判断当前的系数是否为04//倒着输出的时候注意格式5#include<bits/std......
  • 【Android游戏开发十三】(保存游戏数据 [下文])详解SQLite存储方式,并把SQLite的数据库
    ​​ 李华明Himi ​​​原创,转载务必在明显处注明: 很多童鞋说我的代码运行后,点击home或者back后会程序异常,如果你也这样遇到过,那么你肯定没有仔细读完Himi的博文,第十九......
  • pat dijkstra系列题目代码详解
    1003:1#include<bits/stdc++.h>2usingnamespacestd;3#defineintlonglong4#defineIOSios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);5const......
  • pat list题目代码详解
    1032:1#include<bits/stdc++.h>2usingnamespacestd;3#defineIOSios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);4#defineintlonglong5const......