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
Add IQDB metrics to results #3306
Comments
Oh, is this for #3196? |
It could be, although it mainly came about from the use Danbooru's IQDB function in a few userscripts I've published to find images on other sites like 4Chan or one of the other Boorus that haven't been uploaded yet. http://danbooru.donmai.us/forum_topics/14450 In one of the above topics, a user asked if the post # links added from IQDB matches could be quantified by their similarity score. That's currently not possible with Danbooru's IQDB. Although IQDB.org and SauceNao.com do have a similarity score, they each have their own set of difficulties, with IQDB.org IP-banning after a certain amount of usage not to mention its HTML-only interface, and SauceNAO.com having limited API usage without a subscription. |
I'm not sure how useful specifying the minimum similarity is. The current value is hardcoded to 80. Is there a reason to pick another value? |
I wasn't aware of any requirements to specify the minimum similarity yet, although I know that SauceNao does have a similarity paramater, and both SaudeNao and IQDB.org both seem to have a lower minimum similarity. It's not that unusual to get results down in the 50% range, although for the usecase of Danbooru users, i.e. finding actual matches, I think 80% is sufficient. Just a question though... with the above fix, will the match score also be included when going through the API...? If not, is that something else that can be added on? |
It's included in the JSON now. That's implemented in iqdbs. |
Ah great, I see it now. Thanks! |
Specifically, the similarity percentage, similar to what iqdb.org and saucenao.com do. Additionally, allow the minimum similarity percentage to be specified when responses are sent to IQDBS.
For the API response, I don't know if it'd be better to just append it to the post data, or have the two be separate, with 'similarity' specifying the similarity percentage and 'post' specifying the post data....?
Have a URL setting, a user setting, and a default setting, in that order of preference.
Edit:
Having a minimum similarity might also require having a limit setting as well, with a default setting, user setting, and/or a URL setting.
The text was updated successfully, but these errors were encountered: