Package org.opencv.dnn
Class DictValue
java.lang.Object
org.opencv.dnn.DictValue
This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64.
TODO: Maybe int64 is useless because double type exactly stores at least 2^52 integers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DictValue__fromPtr__(long addr) intintgetIntValue(int idx) longdoubledoublegetRealValue(int idx) getStringValue(int idx) booleanisInt()booleanisReal()booleanisString()
-
Constructor Details
-
DictValue
public DictValue(int i) -
DictValue
public DictValue(double p) -
DictValue
-
-
Method Details
-
getNativeObjAddr
public long getNativeObjAddr() -
__fromPtr__
-
isInt
public boolean isInt() -
isString
public boolean isString() -
isReal
public boolean isReal() -
getIntValue
public int getIntValue(int idx) -
getIntValue
public int getIntValue() -
getRealValue
public double getRealValue(int idx) -
getRealValue
public double getRealValue() -
getStringValue
-
getStringValue
-