Displaying 1 result from an estimated 1 matches for "imgterms_addterms".
2010 Oct 21
0
compile xapian-extras
...pian.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 suggestion,Thanks!