elasticsearchimage1.0SNAPSHOT.zip elasticsearch插件 以图搜图 LIRE
使用方法:将插件解压到elasticsearch的plugins目录下即可。
存储数据时
ColorLayoutsurfFeature=newColorLayout();
surfFeature.extract(ImageIO.read(imgfilepath));
JSONObjecto=newJSONObject();
o.put("image",surfFeature.getStringRepresentation());
将该json丢入es当中,其中image类型为keyword类型即可
数据查询ES语句:
GET/imagetest/_search
{
下载地址
用户评论
使用说明没有,麻烦发一个给我 8436487@qq.com