|
|
|
@ -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',
|
|
|
|
|