Update image_ops.ts

main
qwertyforce 2023-03-07 15:01:09 +03:00
parent a1593daec9
commit 6ad6aaaa94
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ async function get_similar_images(image: Buffer, find_duplicate:boolean) {
}
}else{
[phash_res, global_features_res,local_features_res,color_res,image_text_res] = (await Promise.allSettled([
phash_get_similar_images_by_image_buffer({ image: image, k: 200 }),
phash_get_similar_images_by_image_buffer({ image: image, distance_threshold: 64 }),
global_features_get_similar_images_by_image_buffer({ image: image, k: 200 }),
local_features_get_similar_images_by_image_buffer({
image: image, k: 200, k_clusters: 10,