diff --git a/src/omv/boards/OPENMVPT/main_py.h b/src/omv/boards/OPENMVPT/main_py.h index f1635dca1..e35298bff 100644 --- a/src/omv/boards/OPENMVPT/main_py.h +++ b/src/omv/boards/OPENMVPT/main_py.h @@ -52,8 +52,8 @@ static const char fresh_main_py[] = " # Collect stats into a list of tuples\n" " blob_stats = []\n" " for b in blobs:\n" -" blob_stats.append((b.rect(), map_g_to_temp(img.get_statistics(thresholds = threshold_list,\n" -" roi = b.rect()).mean())))\n" +" blob_stats.append((b.rect(), map_g_to_temp(fir_img.get_statistics(thresholds = threshold_list,\n" +" roi = b.rect()).mean())))\n" " x_scale = img.width() / fir_img.width()\n" " y_scale = img.height() / fir_img.height()\n" " img.draw_image(fir_img, 0, 0, x_scale = x_scale, y_scale = y_scale,\n"