public class ObjectDetectionService2 extends Object implements AutoCloseable
Modifier and Type | Field and Description |
---|---|
static List<String> |
FETCH_NAMES
Default Box models fetch names.
|
static List<String> |
FETCH_NAMES_WITH_MASKS
Default Models models fetch names.
|
Constructor and Description |
---|
ObjectDetectionService2(String modelUri,
ObjectDetectionOutputConverter outputConverter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
List<ObjectDetection> |
detect(byte[] image) |
static void |
main(String[] args) |
public ObjectDetectionService2(String modelUri, ObjectDetectionOutputConverter outputConverter)
public List<ObjectDetection> detect(byte[] image)
public void close()
close
in interface AutoCloseable
public static void main(String[] args) throws IOException
IOException
Copyright © 2022. All rights reserved.