About Python API
XLechter opened this issue · 5 comments
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!
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?
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.
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.
Update: I added a Python API using FastAPI. See the details in this PR: #77. I included a server and an example client. You can start the API with the following commands:
python -m api.server
Then, open another terminal:
python -m api.client