DeepImageSearch icon indicating copy to clipboard operation
DeepImageSearch copied to clipboard

Feature Request: Ability to Remove Specific Images from Index

Open ahmed0x77 opened this issue 11 months ago • 0 comments

Dear Nilesh Verma,

I trust you're doing well. I'm a user of the DeepImageSearch library and have found it incredibly useful for my image search tasks.

I have a suggestion to further enhance the library's functionality: adding a feature to remove specific images from the index. Currently, while the library allows indexing and adding new images, it lacks the capability to remove individual images from the index.

Adding a function like the one below would greatly improve the library's usability:

def remove_images_from_index(image_paths: List[str]) -> None:
    """
    Removes specific images from the index.

    Args:
        image_paths (List[str]): List of paths of images to be removed from the index.
    """
    # Implementation logic to remove specified images from the index
    ...

This addition would empower users to update the index by removing outdated or irrelevant images with ease.

I believe this enhancement aligns well with the library's goals and would be highly appreciated by its users. I'm excited to hear your thoughts on incorporating this feature into future releases.

Thank you for considering my suggestion.

ahmed0x77 avatar Mar 20 '24 22:03 ahmed0x77