public class RecognizerTest extends Object
| Modifier and Type | Field and Description |
|---|---|
private Attributes |
answer
|
private Logger |
logger
|
private PedestrianAttrRecogApp.AppPropertyCenter
|
propCenter
|
(package private) Recognizer
|
recognizer
|
private String |
testImage
|
| Constructor and Description |
|---|
RecognizerTest()
|
| Modifier and Type | Method and Description |
|---|---|
void |
allocate()
|
private Recognizer
|
createRecognizer()
|
private static Tracklet.BoundingBox
|
img2BBox(org.bytedeco.javacpp.opencv_core.Mat img)
|
private static Tracklet
|
img2Tracklet(org.bytedeco.javacpp.opencv_core.Mat img)
Create a tracklet with only one bounding box, which is the given
image.
|
void |
recognizeBatch()
|
void |
recognizeSingleSample()
|
void |
setUp()
|
private String testImage
private Attributes answer
private final Logger logger
private PedestrianAttrRecogApp.AppPropertyCenter propCenter
Recognizer recognizer
private Recognizer createRecognizer() throws IOException
IOExceptionpublic void setUp()
throws ParserConfigurationException,
IOException,
SAXException,
URISyntaxException
@Nonnull private static Tracklet.BoundingBox img2BBox(@Nonnull org.bytedeco.javacpp.opencv_core.Mat img)
@Nonnull private static Tracklet img2Tracklet(@Nonnull org.bytedeco.javacpp.opencv_core.Mat img)
img - an cropped pedestrian image.