CVAT
https://opencv.github.io/cvat/docs/api_sdk/cli/
Upload Anno 파일
- upload : Task에 Anno파일(json, xml) 업로드
- import : CVAT에 dataset 올리기 (이미지파일디렉토리)
export
- dump: CVAT에서 anno를 파일(json, xml)로 dump
backup & Export
backup
Project – New
라벨 정의

id는 자동채번
project 를 back하면 project.json의 label 속성 으로 저장됨
[
{
"name": "Social Grooming",
"id": 205,
"color": "#846654",
"attributes": []
},
{
"name": "Personal Grooming",
"id": 206,
"color": "#d12345",
"attributes": []
},
{
"name": "Calf Grooming",
"id": 207,
"color": "#350dea",
"attributes": []
},
{
"name": "Mating",
"id": 208,
"color": "#479ffe",
"attributes": []
},
{
"name": "Estrus Walking",
"id": 209,
"color": "#4a649f",
"attributes": []
},
{
"name": "Estrus Seeking",
"id": 210,
"color": "#478144",
"attributes": []
},
{
"name": "Drinking",
"id": 211,
"color": "#57236b",
"attributes": []
},
{
"name": "Stand",
"id": 212,
"color": "#1cdda5",
"attributes": []
},
{
"name": "Stand Ruminating",
"id": 213,
"color": "#e2bc6e",
"attributes": []
},
{
"name": "Defecating",
"id": 214,
"color": "#f067db",
"attributes": []
},
{
"name": "Urinating",
"id": 215,
"color": "#22b16f",
"attributes": []
},
{
"name": "Walking",
"id": 216,
"color": "#daddec",
"attributes": []
},
{
"name": "Standing",
"id": 217,
"color": "#2ac791",
"attributes": []
},
{
"name": "Walking for Parturition",
"id": 218,
"color": "#de22a0",
"attributes": []
},
{
"name": "Eating",
"id": 219,
"color": "#a7a570",
"attributes": []
},
{
"name": "Sit Ruminating",
"id": 220,
"color": "#74db1b",
"attributes": []
},
{
"name": "Sit",
"id": 221,
"color": "#aaa246",
"attributes": []
},
{
"name": "Running",
"id": 222,
"color": "#bfa552",
"attributes": []
},
{
"name": "Rest",
"id": 223,
"color": "#9b8d37",
"attributes": []
},
{
"name": "Sitting",
"id": 224,
"color": "#c8023c",
"attributes": []
}
]
Task – New
Task에 이미지 먼저 넣기


Upload Anno파일