Skip to content

Many Improvements - #4

Open
aindlq wants to merge 17 commits into
lklic:dist-verfrom
aindlq:improvements
Open

Many Improvements#4
aindlq wants to merge 17 commits into
lklic:dist-verfrom
aindlq:improvements

Conversation

@aindlq

@aindlq aindlq commented Mar 19, 2025

Copy link
Copy Markdown
Collaborator

Batch Image Processing

Added a new endpoint /index/images/batch for processing multiple images in a single request

  1. Implemented multi-threaded processing (20 threads, hardcoded for now) for better performance
  2. Returns detailed status for each image in the batch
  3. Batch Tag Addition
  4. Automatically writes indices to disk after batch operations

Added support for the file:// URL scheme in image URLs

  1. Allows loading images from the local filesystem via file:// url
  2. Works with both individual image indexing and search operations

for usage example see https://gist.github.com/aindlq/c7410d52ae0016aedb5b236f2f40be45

aindlq added 16 commits March 18, 2025 15:24
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
Signed-off-by: Artem Kozlov <artem@rem.sh>
@aindlq aindlq changed the title Batch API. Many Improvements Mar 31, 2025
@aindlq
aindlq marked this pull request as draft March 31, 2025 12:58
@aindlq

aindlq commented Mar 31, 2025

Copy link
Copy Markdown
Collaborator Author

Not ready for merge, need to be cleaned up and documented.

@lklic
lklic marked this pull request as ready for review April 1, 2025 08:17
@lklic

lklic commented Apr 3, 2025

Copy link
Copy Markdown
Owner

Hi @aindlq, I am getting build errors on this. I haven't dug too much into it, as I think the PR is not complete.

Signed-off-by: Artem Kozlov <artem@rem.sh>
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

Successfully merging this pull request may close these issues.

2 participants