Skip to content

Commit

Permalink
Add boxes V2 as discussed in #1142 (superseed #1177) (#1304)
Browse files Browse the repository at this point in the history
* Add boxes V2 as discussed in #1142

* Implememted some PR suggestions

* Update docs + add missing tests

* Fix docs + add rectangle checks

* Fix deepsource errors

* Update test/geometry/test_bbox_v2.py

* Implements comments + fix tests

* Disable gradients in Boxes3D.to_tensor

* Rename bbox_v2 to boxes

* Fix "plus" convention. Previously, it used an incorrect sign

* Add missing 3D test

* Change to use "+1" convention as discussed in #1398

* Apply suggestions from code review

Co-authored-by: Edgar Riba <edgar.riba@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix PR comments

* doctest fixes

Co-authored-by: Jian Shi <sj8716643@126.com>
Co-authored-by: Edgar Riba <edgar.riba@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
4 people committed Nov 17, 2021
1 parent 9a0c9ed commit f7c7aeb
Show file tree
Hide file tree
Showing 4 changed files with 1,577 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/geometry.boxes.rst
@@ -0,0 +1,7 @@
kornia.geometry.boxes
=======================

Module with useful functionalities for 2D and 3D bounding boxes manipulation.

.. automodule:: kornia.geometry.boxes
:members:
1 change: 1 addition & 0 deletions docs/source/geometry.rst
Expand Up @@ -45,6 +45,7 @@ transforms, camera, conversions, linalg and depth. We next describe each of them
:maxdepth: 3

geometry.bbox
geometry.boxes
geometry.calibration
geometry.camera
geometry.conversions
Expand Down

0 comments on commit f7c7aeb

Please sign in to comment.