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

Support for --folder and --user parameters in occ recognize:classify #905

Open
wonx opened this issue Jul 5, 2023 · 1 comment · May be fixed by #1225
Open

Support for --folder and --user parameters in occ recognize:classify #905

wonx opened this issue Jul 5, 2023 · 1 comment · May be fixed by #1225
Labels
enhancement New feature or request

Comments

@wonx
Copy link

wonx commented Jul 5, 2023

Describe the feature you'd like to request

I use nextcloud together with memories to browse my pictures. It integrates Recognize as part of its features to tag the content of the pictures themselves.

I have a collection of hundreds of thousands of pictures on network drives, which are accessed via nextcloud's external storage. Moreover, I have several test users that have access to those files, but don't use them actively, so the whole picture library is actually duplicated several times in nextcloud database.

So, when running a full indexing of my library, something I'm aware it can take several days, I'd like to skip those users and folders that I know don't contain any pictures or won't be used at all.

Describe the solution you'd like

I would love if there was some parameter in the occ recognize:classify to specify for which user I'd like to run the classificator, or limit it to a specific folder subtree. For instance:

occ recognize:classify --user myuser --folder "Media/Pictures"

This would limit the classification to my user, and circumscribed to my picture folder only (I don't need recognize to scan all my documents or work files). And would save me several days of processing time.

Describe alternatives you've considered

The only alternative would be to set up a separate nextcloud installation with only that user and an external storage pointing to the specific path of the picture library. But it's not realistic.

@jirislav
Copy link

This works for me: #1225

Feel free to adjust anything you need, I'll have a limited availability.

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

Successfully merging a pull request may close this issue.

2 participants