Skip to content

Commit

Permalink
added bbox2D to description3D
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisMilczarek committed Jul 3, 2023
1 parent 31d1795 commit 21de53d
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,11 @@ def __poseDescriptionProcessing(self, data, description2d : Description2D, heade
return description3d


def __createDescription3D(self, source_data, description2d, header):
def __createDescription3D(self, source_data, description2d : Description2D, header):
if description2d.type in self.DESCRIPTION_PROCESSING_ALGORITHMS:
return self.DESCRIPTION_PROCESSING_ALGORITHMS[description2d.type](source_data, description2d, header)
description3D : Description3D = self.DESCRIPTION_PROCESSING_ALGORITHMS[description2d.type](source_data, description2d, header)
description3D.bbox2D = description2d.bbox
return description3D
else:
return None

Expand Down

0 comments on commit 21de53d

Please sign in to comment.