This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.audenaerde.lucene; | |
import org.apache.lucene.document.Document; | |
import org.apache.lucene.document.Field; | |
import org.apache.lucene.document.StringField; | |
import org.apache.lucene.index.*; | |
import org.apache.lucene.search.IndexSearcher; | |
import org.apache.lucene.search.ScoreDoc; | |
import org.apache.lucene.search.TermQuery; | |
import org.apache.lucene.search.TopDocs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Author: Rob Audenaerde - License: Apache 2.0 | |
# | |
# Heavily inspired by the code by: [email protected], found here: https://github.com/ajaichemmanam/simple_bodypix_python | |
# | |
import os | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.patches as patches |