Skip to content

Feat: Implement image search by tag/object #920

@monu808

Description

@monu808

Discussed in #919

Description
Add the ability to search images by their detected object tags (e.g., "car", "dog", "person"). Currently, face search exists, but users cannot filter the gallery by YOLO-detected object labels.

Current Behavior

  • Images are tagged with object labels via YOLO (stored in tags array)
  • Face search is available via a separate flow
  • No way to filter/search gallery by object tags

Expected Behavior

  • A search input allows users to type tag names (e.g., "dog", "mountain", "car")
  • Gallery filters to show only images containing matching tags
  • Clear button to reset the filter
  • Optional: autocomplete/suggestions from existing tags

What to change?

  • Add a search input component in the gallery header
  • Filter images array by matching tags (case-insensitive)
  • Update Redux state or local state to track search query
  • Show "No results" state when filter matches nothing

@rahulharpal1603 kindly provide your feedback and approval on this.

Add ScreenShots

Image Image

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions