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

Use precalculated bounding boxes of image-features to speed up image feature query #583

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

AhmetNSimsek
Copy link
Collaborator

@AhmetNSimsek AhmetNSimsek commented Mar 25, 2024

The profiling revealed that most time is spend fetching the boundingboxes of images. When this information is cached, the query itself takes less than a second (on 11th Gen Intel(R) Core(TM) i5-1145G7, 16 GB memory). Therefore, this PR allows the bounding box information to be precalculated and stored in the configs to be used in run time. I suggest that we utilize this method for all image features until the new spatial query system is settled.

EDT: Tests are failing due to issues with data-proxy. (lint is failing due to unused import which is caused by using a specific config branch)

EDT 2: Requires:

@AhmetNSimsek AhmetNSimsek added the enhancement New feature or request label Mar 25, 2024
@AhmetNSimsek AhmetNSimsek changed the title Use precalculated image feature boundingboxes to speed up image feature query Use precalculated bounding boxes of image-features to speed up image feature query Mar 25, 2024
@AhmetNSimsek AhmetNSimsek marked this pull request as ready for review April 9, 2024 08:54
@AhmetNSimsek AhmetNSimsek force-pushed the enh_use_precalc_img_bboxes branch 2 times, most recently from 36002ee to 8b1fb9f Compare April 10, 2024 09:13
@AhmetNSimsek AhmetNSimsek marked this pull request as draft April 25, 2024 09:28
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 this pull request may close these issues.

None yet

2 participants