以图搜图服务

animeic f7f4157a94 update 2 years ago
milvus 139e03dfbd update 2 years ago
src 139e03dfbd update 2 years ago
.gitignore 8b6dbce649 update 2 years ago
Dockerfile 1def75c244 update 2 years ago
build.sh bf12acf3a0 update 2 years ago
docker-compose.yml f7f4157a94 update 2 years ago
readme.md 8a5f2d2938 update 2 years ago

readme.md

以图搜图

安装milvus

milvus/docker-compose.yml

search-image服务

  1. 根据业务需求编写src/*
  2. 生成服务镜像sh build.sh
  3. 在对应应用服务docker-compose.yml中使用该镜像

主要api:

# file:image,query:hash,id,url,table_name
# url || image 参数必传
@app.post('/img/upload')

# file:image,query:limit,table_name
# image参数必传
@app.post('/img/search')

# table_name
@app.post('/img/count')

# table_name
@app.post('/img/drop')