@Nam Hong Phuc Dang As per the documentation if you need to use custom thresholds you will have to define a custom list for images that you want a score to be returned.
If a match is found, the operation returns the identifier and the moderation tags of the matched image. The response includes this information:
- Match score (between 0 and 1)
- Matched image
- Image tags (assigned during previous moderation)
- Image labels
To create a image list use the image lists - create API to create a new list.
Use the list id from above with the image - Add Image API to add the images.
Pass the image to match API with the above list id.
I hope this helps!!
If an answer is helpful, please click on
or upvote
which might help other community members reading this thread.