Search in sources :

Example 1 with TagQueryTermContainer

use of org.vitrivr.cineast.core.data.query.containers.TagQueryTermContainer in project cineast by vitrivr.

the class TagRetrievalCommand method run.

public void run() {
    final ContinuousRetrievalLogic retrieval = new ContinuousRetrievalLogic(Config.sharedConfig().getDatabase());
    TagQueryTermContainer qc = new TagQueryTermContainer(data);
    List<Retriever> retrievers = new ArrayList<>();
    retrievers.add(new SegmentTags());
    CliUtils.retrieveAndLog(retrievers, retrieval, limit, printDetail, qc);
    System.out.println("Done");
}
Also used : SegmentTags(org.vitrivr.cineast.core.features.SegmentTags) TagQueryTermContainer(org.vitrivr.cineast.core.data.query.containers.TagQueryTermContainer) Retriever(org.vitrivr.cineast.core.features.retriever.Retriever) ContinuousRetrievalLogic(org.vitrivr.cineast.standalone.util.ContinuousRetrievalLogic) ArrayList(java.util.ArrayList)

Aggregations

ArrayList (java.util.ArrayList)1 TagQueryTermContainer (org.vitrivr.cineast.core.data.query.containers.TagQueryTermContainer)1 SegmentTags (org.vitrivr.cineast.core.features.SegmentTags)1 Retriever (org.vitrivr.cineast.core.features.retriever.Retriever)1 ContinuousRetrievalLogic (org.vitrivr.cineast.standalone.util.ContinuousRetrievalLogic)1