You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Contributing guide:
https://github.com/openvinotoolkit/datumaro/blob/develop/CONTRIBUTING.md
-->
### Summary
CVS-151427
#### New features
- New `Cuboid2D` methods:
- `Cuboid2D.from_3d(dimensions, location, rotation_y, P,
Tr_velo_to_cam)`: Creates a Cuboid2D object from KITTI 3D bbox
annotation data. Matrix `P` (`P2` in Kitti format context) is a 3x4
projection matrix in the left color camera coordinate system. Matrix
`Tr_velo_to_cam` is a 3x4 projection matrix between LiDAR and camera
coordinate systems.
- `cuboid_2d.to_3d(P_inv)`: Reconstructs approximate KITTI 3D bbox
annotation data (`dimensions`, `location` and `rotation_y`) from 2D
projection coordinates. `P_inv` matrix is a
[pseudo-inverse](https://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_inverse)
of camera-to-image projection matrix.
<!--
Resolves#111 and #222.
Depends on #1000 (for series of dependent commits).
This PR introduces this capability to make the project better in this
and that.
- Added this feature
- Removed that feature
- Fixed the problem #1234
-->
### How to test
See unit test changes
### Checklist
<!-- Put an 'x' in all the boxes that apply -->
- [x] I have added unit tests to cover my changes.
- [ ] I have added integration tests to cover my changes.
- [x] I have added the description of my changes into
[CHANGELOG](https://github.com/openvinotoolkit/datumaro/blob/develop/CHANGELOG.md).
- [ ] I have updated the
[documentation](https://github.com/openvinotoolkit/datumaro/tree/develop/docs)
accordingly
### License
- [x] I submit _my code changes_ under the same [MIT
License](https://github.com/openvinotoolkit/datumaro/blob/develop/LICENSE)
that covers the project.
Feel free to contact the maintainers if that's a concern.
- [ ] I have updated the license header for each file (see an example
below).
```python
# Copyright (C) 2024 Intel Corporation
#
# SPDX-License-Identifier: MIT
```
---------
Signed-off-by: Ilya Trushkin <[email protected]>
0 commit comments