Package qupath.opencv.dnn
Enum Class OpenCVDnn.ModelType
- All Implemented Interfaces:
Serializable
,Comparable<OpenCVDnn.ModelType>
,Constable
- Enclosing class:
OpenCVDnn
Enum representing different classes of
Model
supported by OpenCV.
These can be used as a more convenient way to run predictions.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRefers toClassificationModel
.DefaultModel
class.Refers toDetectionModel
.Refers toKeypointsModel
.Refers toSegmentationModel
.Refers toTextDetectionModel_DB
.Refers toTextDetectionModel_EAST
.Refers toTextRecognitionModel
. -
Method Summary
Modifier and TypeMethodDescriptionstatic OpenCVDnn.ModelType
Returns the enum constant of this class with the specified name.static OpenCVDnn.ModelType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
DefaultModel
class. -
DETECTION
Refers toDetectionModel
. -
SEGMENTATION
Refers toSegmentationModel
. -
CLASSIFICATION
Refers toClassificationModel
. -
KEYPOINTS
Refers toKeypointsModel
. -
TEXT_RECOGNITION
Refers toTextRecognitionModel
. -
TEXT_DETECTION_DB
Refers toTextDetectionModel_DB
. -
TEXT_DETECTION_EAST
Refers toTextDetectionModel_EAST
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-