public interface ImageClassifier<T extends boofcv.struct.image.ImageBase<T>> extends ImageModelBase<T>
| Modifier and Type | Interface and Description |
|---|---|
static class |
ImageClassifier.Score
Provides information on the score for a specific category when multiple results are requested
|
| Modifier and Type | Method and Description |
|---|---|
void |
classify(T image)
Process the image and determine which category it belongs to.
|
java.util.List<ImageClassifier.Score> |
getAllResults()
Returns a list of all the likely categories for the image.
|
int |
getBestResult()
Returns the category which was the best fit.
|
java.util.List<java.lang.String> |
getCategories()
Returns a list of all the possible categories that a scene can be classified as
|
getInputType, loadModelvoid classify(T image)
image - Image being processed. All pixel values have a range of 0 to 255. If a color image then the
bands will be in red, green, blue order.int getBestResult()
java.util.List<ImageClassifier.Score> getAllResults()
java.util.List<java.lang.String> getCategories()