Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
We have used elastic search apis for image recognition purpose. 

There are a set of images data from AWS Image Recognition and saved in ElasticSearch.

The image with frame was in ElasticSearch. 




Here is original image link:

https://static.wixstatic.com/media/d761a4_f7cea16bb731463a884720a92e8fefc0~mv2_d_3024_4032_s_4_2.jpg

I am using the cropped image (Please crop the original image) to search the image existance in Elastic Search. I am getting the result but the Original Match image was not on top of the list. Some random image from ElasticSearch data is coming on Top.

Can some one help me why it is not showing on top?


What I have tried:

We have used node js for elastic search api calls

Please see my code...

const searchResult = await elasticClient.search({
index: "imagesearch",
type: "image",
body: {
size: 3,
query: {
match: {
label: {
query: LabellistString,
},
},
},
},
});

Note: Based on image labels we searching the images on elastic search
Posted
Updated 30-Dec-20 19:57pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900