Skip to content

Commit 2ec1827

Browse files
authored
Add a notebook for parsing Objectron's geometry files and tutorial on projecting 3D points. (#9)
1 parent 5622b2d commit 2ec1827

4 files changed

Lines changed: 465 additions & 6 deletions

File tree

notebooks/objectron-geometry-tutorial.ipynb

Lines changed: 462 additions & 0 deletions
Large diffs are not rendered by default.

objectron/dataset/box.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
"""General 3D Bounding Box class.
2-
3-
Reference: go/iou3d
4-
"""
1+
"""General 3D Bounding Box class."""
52

63
import numpy as np
74
from numpy.linalg import lstsq as optimizer

objectron/dataset/eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def safe_divide(i1, i2):
4545
return i1 / divisor
4646

4747
class Evaluator(object):
48-
"""Class for evaluating a deep pursuit model."""
48+
"""Class for evaluating the Objectron's model."""
4949

5050
def __init__(self, height = 640, width = 480):
5151
self.height, self.width = height, width

objectron/schema/features.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Features in Deep Pursuit 3D tf.Example."""
1+
"""Features in Objectron's tf.Example."""
22

33
import frozendict
44
import tensorflow as tf

0 commit comments

Comments
 (0)