Objective
Retire the YOLO-based object detection preprocessor from the maintained IMAGE server now that object-detection-llm is the supported replacement.
Context and rationale
IMAGE currently retains both the legacy YOLO object detector and the newer LLM/VLM-based object detector.
The previous practice of moving unmaintained microservices into deprecated/ directories is not desirable here. Those components remain part of the repository's dependency-maintenance surface, which can continue to generate Dependabot alerts and other maintenance work even though the code is no longer supported.
The YOLO implementation is no longer intended to be maintained and has also introduced compatibility and GPU-resource concerns on the current production infrastructure. Its source does not need to remain in the active tree solely for historical purposes, since previous implementations can be recovered through Git history.
This Task should therefore retire YOLO cleanly while ensuring that existing object-detection-dependent functionality continues to operate with object-detection-llm.
In scope
- Remove the YOLO object detection implementation from the maintained source tree.
- Remove it from active build, CI, deployment, and server configuration.
- Remove or update remaining active references to the legacy
object-detection service where required for the server to operate without YOLO.
- Confirm that object-detection-dependent experiences continue to function using
object-detection-llm.
- Ensure the retired implementation remains reasonably discoverable through repository history or project documentation.
Completion criteria
Constraints and non-goals
- Do not move the YOLO implementation into
preprocessors/deprecated/; retired code should not remain in the maintained dependency surface solely for archival purposes.
- Do not delete shared schemas or interfaces that remain applicable to
object-detection-llm.
- Do not expand this Task into model selection, prompt tuning, or broader object-detection quality improvements.
- Do not attempt to solve the broader architecture of service-name versus schema/data-type dependencies as part of this Task, except where changes are necessary to remove YOLO safely.
- Existing previously published artifacts do not need to be removed solely because the implementation is being retired.
Validation and operational impact
- Confirm supported Docker Compose profiles start without the YOLO service.
- Test representative image requests and verify object detection is provided by
object-detection-llm.
- Test object-detection-dependent renderings for regressions.
- Check server logs for missing-service, dependency-resolution, or related errors following removal.
- No data migration is expected.
- Retiring YOLO should remove its active GPU and dependency requirements from the server.
Dependencies and related work
Objective
Retire the YOLO-based object detection preprocessor from the maintained IMAGE server now that
object-detection-llmis the supported replacement.Context and rationale
IMAGE currently retains both the legacy YOLO object detector and the newer LLM/VLM-based object detector.
The previous practice of moving unmaintained microservices into
deprecated/directories is not desirable here. Those components remain part of the repository's dependency-maintenance surface, which can continue to generate Dependabot alerts and other maintenance work even though the code is no longer supported.The YOLO implementation is no longer intended to be maintained and has also introduced compatibility and GPU-resource concerns on the current production infrastructure. Its source does not need to remain in the active tree solely for historical purposes, since previous implementations can be recovered through Git history.
This Task should therefore retire YOLO cleanly while ensuring that existing object-detection-dependent functionality continues to operate with
object-detection-llm.In scope
object-detectionservice where required for the server to operate without YOLO.object-detection-llm.Completion criteria
object-detection-yolois no longer part of the maintained source tree.object-detection-llm.Constraints and non-goals
preprocessors/deprecated/; retired code should not remain in the maintained dependency surface solely for archival purposes.object-detection-llm.Validation and operational impact
object-detection-llm.Dependencies and related work
The replacement object detector should be considered suitable for supported use before YOLO is retired.
Tracks the broader architectural problem exposed when replacing one object-detection implementation with another.
YOLO is one of the legacy GPU-dependent preprocessors implicated in the current production compatibility work.