graviti
产品应用市场解决方案知识库公开数据集关于我们
4.5K
1
80
Dataset for infrared image dim-small aircraft target detection and tracking under ground / air background
概要
讨论
代码
活动
非数据集成员无法通过开发者工具直接使用该数据集,您可通过Fork后获取和使用数据。
Fork数据集
1from tensorbay import GAS
2from tensorbay.dataset import Dataset
3
4# Authorize a GAS client.
5gas = GAS('<YOUR_ACCESS_KEY>')
6
7# Get a dataset.
8dataset = Dataset("DatasetForInfraredImageDimSmallAircraftTargetDetectionAndTrackingUnderGroundAirBackground", gas)
9
10# List dataset segments.
11segments = dataset.keys()
12
13# Get a segment by name
14segment = dataset["data01"]
15for data in segment:
16    with data.open() as fp:
17        # Use the data as you like.
18        for label_keypoints2d in data.label.keypoints2d[0]:
19            x = data.label.keypoints2d[0].x
20            y = data.label.keypoints2d[0].y
21            v = data.label.keypoints2d[0].v
22            keypoints2d_category = label_keypoints2d.category