Affected Component
Detection Pipeline (services/detection/)
Bug Description
While testing the detection pipeline, I followed the README setup instructions and encountered an import resolution error during startup.
The README currently suggests running:
python services/detection/detection.py --source data/sample_videos/sample.mp4
However, this results in a startup failure related to package imports.
Steps to Reproduce
- Clone the repository
- Open terminal from project root (Eagle/)
- Run :
python services/detection/detection.py --source data/sample_videos/sample.mp4
Expected Behavior
Detection pipeline should start successfully using the README command.
Actual Behavior
Import resolution error occurs during startup.
Python Version
3.13
Operating System
Windows 11
Inference Device
None
Error Log / Traceback
python services/detection/detection.py --source data/sample_videos/sample.mp4
Traceback (most recent call last):
File "C:\Users\prarthana\Eagle\services\detection\detection.py", line 22, in <module>
from libs.schemas.detection import DetectionFrameSchema as DetectionFrame, DetectionSchema as Detection, BoundingBox
ModuleNotFoundError: No module named 'libs.schemas'
Screenshots or Recordings
Additional Context
Suggested Improvement
Possible fixes may include:
- configuring package imports consistently
- or updating README instructions to use module-style execution:
python -m services.detection.detection --source data/sample_videos/sample.mp4
Checklist
Affected Component
Detection Pipeline (services/detection/)
Bug Description
While testing the detection pipeline, I followed the README setup instructions and encountered an import resolution error during startup.
The README currently suggests running:
python services/detection/detection.py --source data/sample_videos/sample.mp4
However, this results in a startup failure related to package imports.
Steps to Reproduce
python services/detection/detection.py --source data/sample_videos/sample.mp4
Expected Behavior
Detection pipeline should start successfully using the README command.
Actual Behavior
Import resolution error occurs during startup.
Python Version
3.13
Operating System
Windows 11
Inference Device
None
Error Log / Traceback
Screenshots or Recordings
Additional Context
Suggested Improvement
Possible fixes may include:
python -m services.detection.detection --source data/sample_videos/sample.mp4
Checklist
mainbranch.