image-match
image-match copied to clipboard
ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10))
the demo.py as follows: from elasticsearch import Elasticsearch from image_match.elasticsearch_driver import SignatureES
es = Elasticsearch() ses = SignatureES(es) ses.add_image('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg/687pxMona_Lisa,_by_Leonardo_da_Vinci,_from_C2RMF_retouched.jpg')
it is absolutely orignal code in https://image-match.readthedocs.io/en/latest/searches.html,
and
==> Successfully stopped elasticsearch
(label: homebrew.mxcl.elasticsearch)
==> Successfully started elasticsearch
(label: homebrew.mxcl.elasticsearch)
in brew
so what happened?
I tried to get elasticsearch running, no issues anymore afterwards:
https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-install.html