Package org.opencv.aruco
Class EstimateParameters
- java.lang.Object
-
- org.opencv.aruco.EstimateParameters
-
public class EstimateParameters extends java.lang.ObjectPose estimation parameters pattern Defines center this system and axes direction (default PatternPositionType::ARUCO_CCW_CENTER). useExtrinsicGuess Parameter used for SOLVEPNP_ITERATIVE. If true (1), the function uses the provided rvec and tvec values as initial approximations of the rotation and translation vectors, respectively, and further optimizes them (default false). solvePnPMethod Method for solving a PnP problem: see REF: calib3d_solvePnP_flags (default SOLVEPNP_ITERATIVE). SEE: PatternPositionType, solvePnP(), check tutorial_aruco_detection in aruco contrib
-
-
Field Summary
Fields Modifier and Type Field Description protected longnativeObj
-
Constructor Summary
Constructors Modifier Constructor Description EstimateParameters()protectedEstimateParameters(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EstimateParameters__fromPtr__(long addr)protected voidfinalize()intget_solvePnPMethod()booleanget_useExtrinsicGuess()longgetNativeObjAddr()voidset_solvePnPMethod(int solvePnPMethod)voidset_useExtrinsicGuess(boolean useExtrinsicGuess)
-
-
-
Method Detail
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static EstimateParameters __fromPtr__(long addr)
-
get_useExtrinsicGuess
public boolean get_useExtrinsicGuess()
-
set_useExtrinsicGuess
public void set_useExtrinsicGuess(boolean useExtrinsicGuess)
-
get_solvePnPMethod
public int get_solvePnPMethod()
-
set_solvePnPMethod
public void set_solvePnPMethod(int solvePnPMethod)
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
-