Displaying 1 result from an estimated 1 matches for "imgterm".
Did you mean:
imgterms
2010 Oct 21
0
compile xapian-extras
...supports image similarity.(
http://xapian.wordpress.com/2009/03/11/xappy-now-supports-image-similarity-searching/
)
I complie xapian-extras and xapian-extras-bindings with python.
import xapian
import xapian.imgseek
doc = xapian.Document()
imgsig = xapian.imgseek.ImgSig.register_Image(JPEG_PATH)
imgterms = xapian.imgseek.ImgTerms('A', 300)
imgterms.AddTerms(doc,imgsig)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: in method 'ImgTerms_AddTerms', argument 2 of type
'Xapian::Document &'
Please give some suggesti...