Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow deletion and renaming of images from dataset #392

Open
agibsonccc opened this issue May 30, 2021 · 2 comments
Open

Allow deletion and renaming of images from dataset #392

agibsonccc opened this issue May 30, 2021 · 2 comments

Comments

@agibsonccc
Copy link

Is your feature request related to a problem? Please describe.
Sometimes when uploading images you get the files by default with strange names (think smart phone cameras)
when you go to label an image and import it with the old name, you can sometimes make a mistake and want to rename it later. If you would be great if you could create a list of options for modifying images in the database without having to recreate a whole dataset from scratch.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Nothing in particular beyond being able to either click on an image and modify its properties or even right click (which might be harder to implement)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Only having to recreate the project from scratch.

Additional context
Add any other context or screenshots about the feature request here.

@devenyantis
Copy link
Contributor

Hi @agibsonccc

Thanks for the suggestions. I am currently working on renaming and deleting features which is expected to be in classifai v2-alpha3 release.

Brief idea on the implementation. Renaming data will change the filename in dataset folder. Deleting data will move the data to another folder outside of the dataset folder. The UI is not implemented yet.

Thanks

@agibsonccc
Copy link
Author

@devenyantis I would try to make the metadata agnostic of the real file on the system.

Since you have a local database, I would consider having a local path or classifai's own copy of the data and have associations to file names tracked if possible.

Another way you could do it is just rename the file locally in place. and update it in the UI
This depends on how classifai handles the data though.

A 3rd way you could do it would be to use java's filewatcher api and have it poll the root directory where the images are and use that to automatically track what names happen where and update the UI based on that. Just make sure to log if these kinds of events happen though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants