Skip to content

Deprecate object-detection-yolo #1199

Description

@aidanbruneel

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

  • object-detection-yolo is no longer part of the maintained source tree.
  • The YOLO service is no longer built, deployed, or started by current IMAGE server configurations.
  • No active component requires the YOLO object detector for normal operation.
  • Object-detection-dependent experiences continue to receive usable object detection data from object-detection-llm.
  • Obsolete YOLO-specific CI, build, configuration, and documentation references have been removed or updated.
  • The retired implementation can still be located through repository history or appropriate project documentation.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions