Face_detection: bug in pytest due to same names, refactored face_detection scripts to be utils in daq/operations/face_detection
This commit is contained in:
@@ -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
-1
@@ -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,
|
||||
Reference in New Issue
Block a user