Skip to content

Commit

Permalink
fix: variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbmrz committed Jul 11, 2024
1 parent 4b4a161 commit a8017f0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions depthai_nodes/ml/parsers/thermal_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ def run(self):
f"Expected 1 output layer, got {len(output_layer_names)}."
)
output = output.getTensor(output_layer_names[0])

thermal_map = output[0]

depth_message = create_thermal_message(
thermal_map=thermal_map
)
self.out.send(depth_message)
thermal_message = create_thermal_message(thermal_map=thermal_map)
self.out.send(thermal_message)

0 comments on commit a8017f0

Please sign in to comment.