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

* Fixed: Cuboids are missed in annotations statistics

* Updated changelog & version
main
Boris Sekachev 5 years ago committed by GitHub
parent 473554bd59
commit d48cc53e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>) - 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>) - SSLCertVerificationError when remote source is used (<https://github.com/openvinotoolkit/cvat/pull/2683>)
- Fixed filters select overflow (<https://github.com/openvinotoolkit/cvat/pull/2614>) - 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 ### Security

@ -1,6 +1,6 @@
{ {
"name": "cvat-ui", "name": "cvat-ui",
"version": "1.13.5", "version": "1.13.6",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

@ -1,6 +1,6 @@
{ {
"name": "cvat-ui", "name": "cvat-ui",
"version": "1.13.5", "version": "1.13.6",
"description": "CVAT single-page application", "description": "CVAT single-page application",
"main": "src/index.tsx", "main": "src/index.tsx",
"scripts": { "scripts": {

@ -1,4 +1,4 @@
// Copyright (C) 2020 Intel Corporation // Copyright (C) 2020-2021 Intel Corporation
// //
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
@ -34,7 +34,7 @@ export default function StatisticsModalComponent(props: Props): JSX.Element {
cancelButtonProps: { style: { display: 'none' } }, cancelButtonProps: { style: { display: 'none' } },
okButtonProps: { style: { width: 100 } }, okButtonProps: { style: { width: 100 } },
onOk: closeStatistics, onOk: closeStatistics,
width: 1000, width: 1024,
visible, visible,
closable: false, 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}`, polygon: `${data.label[key].polygon.shape} / ${data.label[key].polygon.track}`,
polyline: `${data.label[key].polyline.shape} / ${data.label[key].polyline.track}`, polyline: `${data.label[key].polyline.shape} / ${data.label[key].polyline.track}`,
points: `${data.label[key].points.shape} / ${data.label[key].points.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, tags: data.label[key].tags,
manually: data.label[key].manually, manually: data.label[key].manually,
interpolated: data.label[key].interpolated, 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}`, polygon: `${data.total.polygon.shape} / ${data.total.polygon.track}`,
polyline: `${data.total.polyline.shape} / ${data.total.polyline.track}`, polyline: `${data.total.polyline.shape} / ${data.total.polyline.track}`,
points: `${data.total.points.shape} / ${data.total.points.track}`, points: `${data.total.points.shape} / ${data.total.points.track}`,
cuboid: `${data.total.cuboid.shape} / ${data.total.cuboid.track}`,
tags: data.total.tags, tags: data.total.tags,
manually: data.total.manually, manually: data.total.manually,
interpolated: data.total.interpolated, interpolated: data.total.interpolated,
@ -108,6 +110,11 @@ export default function StatisticsModalComponent(props: Props): JSX.Element {
dataIndex: 'points', dataIndex: 'points',
key: 'points', key: 'points',
}, },
{
title: makeShapesTracksTitle('Cuboids'),
dataIndex: 'cuboid',
key: 'cuboid',
},
{ {
title: <Text strong> Tags </Text>, title: <Text strong> Tags </Text>,
dataIndex: 'tags', dataIndex: 'tags',

Loading…
Cancel
Save