未验证 提交 d48cc53e 编写于 作者: B Boris Sekachev 提交者: GitHub

Fixed: Cuboids are missed in annotations statistics (#2704)

* Fixed: Cuboids are missed in annotations statistics

* Updated changelog & version
上级 473554bd
......@@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The cursor jumps to the end of the line when renaming a task (<https://github.com/openvinotoolkit/cvat/pull/2669>)
- SSLCertVerificationError when remote source is used (<https://github.com/openvinotoolkit/cvat/pull/2683>)
- Fixed filters select overflow (<https://github.com/openvinotoolkit/cvat/pull/2614>)
- Cuboids are missed in annotations statistics (<https://github.com/openvinotoolkit/cvat/pull/2704>)
### Security
......
{
"name": "cvat-ui",
"version": "1.13.5",
"version": "1.13.6",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
{
"name": "cvat-ui",
"version": "1.13.5",
"version": "1.13.6",
"description": "CVAT single-page application",
"main": "src/index.tsx",
"scripts": {
......
// Copyright (C) 2020 Intel Corporation
// Copyright (C) 2020-2021 Intel Corporation
//
// SPDX-License-Identifier: MIT
......@@ -34,7 +34,7 @@ export default function StatisticsModalComponent(props: Props): JSX.Element {
cancelButtonProps: { style: { display: 'none' } },
okButtonProps: { style: { width: 100 } },
onOk: closeStatistics,
width: 1000,
width: 1024,
visible,
closable: false,
};
......@@ -54,6 +54,7 @@ export default function StatisticsModalComponent(props: Props): JSX.Element {
polygon: `${data.label[key].polygon.shape} / ${data.label[key].polygon.track}`,
polyline: `${data.label[key].polyline.shape} / ${data.label[key].polyline.track}`,
points: `${data.label[key].points.shape} / ${data.label[key].points.track}`,
cuboid: `${data.label[key].cuboid.shape} / ${data.label[key].cuboid.track}`,
tags: data.label[key].tags,
manually: data.label[key].manually,
interpolated: data.label[key].interpolated,
......@@ -67,6 +68,7 @@ export default function StatisticsModalComponent(props: Props): JSX.Element {
polygon: `${data.total.polygon.shape} / ${data.total.polygon.track}`,
polyline: `${data.total.polyline.shape} / ${data.total.polyline.track}`,
points: `${data.total.points.shape} / ${data.total.points.track}`,
cuboid: `${data.total.cuboid.shape} / ${data.total.cuboid.track}`,
tags: data.total.tags,
manually: data.total.manually,
interpolated: data.total.interpolated,
......@@ -108,6 +110,11 @@ export default function StatisticsModalComponent(props: Props): JSX.Element {
dataIndex: 'points',
key: 'points',
},
{
title: makeShapesTracksTitle('Cuboids'),
dataIndex: 'cuboid',
key: 'cuboid',
},
{
title: <Text strong> Tags </Text>,
dataIndex: 'tags',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册