From a8017f03d72d82c8177a92bd6afdcb8034017ea9 Mon Sep 17 00:00:00 2001 From: jkbmrz Date: Thu, 11 Jul 2024 10:06:04 +0200 Subject: [PATCH] fix: variable name --- depthai_nodes/ml/parsers/thermal_image.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/depthai_nodes/ml/parsers/thermal_image.py b/depthai_nodes/ml/parsers/thermal_image.py index e10cdb2..62f716f 100644 --- a/depthai_nodes/ml/parsers/thermal_image.py +++ b/depthai_nodes/ml/parsers/thermal_image.py @@ -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)