Vincentqyw / image-matching-webui

🤗 image matching toolbox webui
https://huggingface.co/spaces/Realcat/image-matching-webui
Apache License 2.0
716 stars 59 forks source link

About Python API #36

Open XLechter opened 4 months ago

XLechter commented 4 months ago

Thanks for providing this brilliant repo.

It works well on the web app. May I know is there a Python API I can use in the Python script? For example, I have two images and want to perform keypoint detection, matching, and ransac with different methods.

Thank you so much!

Vincentqyw commented 4 months ago

Sure, you can find it here and this example.

VeeranjaneyuluToka commented 1 month ago

Just wondering, in case if we want to use our own samples, do you suggest to look into parameters to tune further to improve accuracy?

Vincentqyw commented 1 month ago

Just wondering, in case if we want to use our own samples, do you suggest to look into parameters to tune further to improve accuracy?

I suggest starting with the algorithm's default parameters and evaluating their accuracy with your samples. If the results are not up to par, it might be more beneficial to consider a different algorithm. Fine-tuning the parameters should be your last resort, as it can be a complex and time-consuming process.

VeeranjaneyuluToka commented 1 month ago

I understand, I am yet to read through each approach details and understand a bit more meanwhile do you have any recommendation on the approach/method that would be generizable to any data? I have quick glance and looks like GIM is testing with youtube images.