Face_detection: bug in pytest due to same names, refactored face_detection scripts to be utils in daq/operations/face_detection
Build and Publish / test (push) Successful in 1m20s
Build and Publish / build (push) Successful in 14s
Build and Publish / Build and Deploy Docs (push) Successful in 37s

This commit is contained in:
2026-04-30 13:39:25 +02:00
parent 6095dee54a
commit 8cd26d54b7
4 changed files with 2 additions and 3 deletions
View File
@@ -1,10 +1,9 @@
import time
import aare.common.face_detection as fd
import aare.daq.operations.face_detection.utils as fd
from aare.common.coordinate import Coordinate, SmargonCoordinate
from aare.common.logger_events import log_duration, log_ml_bundle_meta
from aare.common.models import MLBoxModel, ZoomModeEnum
from aare.daq.config import BeamlineStateEnum
from aare.daq.mlbox import MLBoxPredictionResult
from aare.daq.operations.face_detection.models import (
FaceDetectionContext,
@@ -1,6 +1,6 @@
import numpy as np
import pytest
from aare.common.face_detection import (
from aare.daq.operations.face_detection.utils import (
box_height_from_tuple,
box_area_from_tuple,
prepare_samples,