public abstract class AbstractObjectDetector extends AbstractOptionHandler
Modifier and Type | Field and Description |
---|---|
protected org.openimaj.image.objectdetection.ObjectDetector |
m_ActualDetector
the actual detector.
|
m_OptionManager
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
Constructor and Description |
---|
AbstractObjectDetector() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.openimaj.image.Image |
convert(AbstractImageContainer cont)
Converts the image container into the required image type for the detector.
|
List |
detect(AbstractImageContainer cont)
Detects the objects in the image.
|
protected abstract org.openimaj.image.objectdetection.ObjectDetector |
newInstance()
Creates a new instance of the detector.
|
protected void |
reset()
Resets the scheme.
|
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLoggingLevel
protected transient org.openimaj.image.objectdetection.ObjectDetector m_ActualDetector
protected void reset()
reset
in class AbstractOptionHandler
protected abstract org.openimaj.image.objectdetection.ObjectDetector newInstance()
protected abstract org.openimaj.image.Image convert(AbstractImageContainer cont)
cont
- the container to convertpublic List detect(AbstractImageContainer cont)
cont
- the container with the image to analyzeCopyright © 2021 University of Waikato, Hamilton, NZ. All Rights Reserved.