From 66f019b6e896b4efd4a3b970e84c4d5cef8c5b0a Mon Sep 17 00:00:00 2001 From: Diego Freitas Date: Mon, 31 Aug 2026 16:17:46 -0300 Subject: [PATCH] ajuste no flatfield calibration tool --- .../oak-fcc-3/utils/_3_flatfield_calibration_tool.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Python/OAK/datasets/oak-fcc-3/utils/_3_flatfield_calibration_tool.py b/Python/OAK/datasets/oak-fcc-3/utils/_3_flatfield_calibration_tool.py index 91440ae59..ecaeba364 100644 --- a/Python/OAK/datasets/oak-fcc-3/utils/_3_flatfield_calibration_tool.py +++ b/Python/OAK/datasets/oak-fcc-3/utils/_3_flatfield_calibration_tool.py @@ -120,6 +120,16 @@ import cv2 import depthai as dai import numpy as np + +# ============================================================ +# Project root / imports locais +# ============================================================ + +PROJECT_ROOT = (Path(__file__).resolve().parent.parent) +project_root_str = str(PROJECT_ROOT) +if project_root_str not in sys.path: + sys.path.insert(0, project_root_str) + from core.raw_processor_core import RawProcessorCore