public abstract class AbstractImageSearcher extends java.lang.Object implements ImageSearcher
| 构造器和说明 |
|---|
AbstractImageSearcher() |
| 限定符和类型 | 方法和说明 |
|---|---|
ImageSearchHits |
relevanceFeedback(ImageSearchHits originalSearch,
java.util.Set<org.apache.lucene.document.Document> positives,
java.util.Set<org.apache.lucene.document.Document> negatives)
Modifies the given search by the provided positive and negative examples.
|
ImageSearchHits |
search(java.io.InputStream image,
org.apache.lucene.index.IndexReader reader)
Searches for images similar to the given image.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindDuplicates, search, searchpublic ImageSearchHits search(java.io.InputStream image, org.apache.lucene.index.IndexReader reader) throws java.io.IOException
ImageSearcher.search(java.awt.image.BufferedImage, org.apache.lucene.index.IndexReader),
the image is read using javax.imageio.ImageIO.search 在接口中 ImageSearcherimage - the example image to search for.reader - the IndexReader which is used to dsearch through the images.java.io.IOException - in case the image could not be read from stream.public ImageSearchHits relevanceFeedback(ImageSearchHits originalSearch, java.util.Set<org.apache.lucene.document.Document> positives, java.util.Set<org.apache.lucene.document.Document> negatives)
ImageSearcherrelevanceFeedback 在接口中 ImageSearcher