Package org.photonvision.jni
Class RknnDetectorJNI.RknnObjectDetector
java.lang.Object
org.photonvision.jni.RknnDetectorJNI.RknnObjectDetector
- Enclosing class:
- RknnDetectorJNI
-
Constructor Summary
ConstructorDescriptionRknnObjectDetector
(String modelPath, List<String> labels, org.photonvision.rknn.RknnJNI.ModelVersion version) -
Method Summary
-
Constructor Details
-
RknnObjectDetector
-
-
Method Details
-
getClasses
-
detect
public List<NeuralNetworkPipeResult> detect(org.opencv.core.Mat in, double nmsThresh, double boxThresh) Detect forwards using this model- Parameters:
in
- The image to processnmsThresh
- Non-maximum supression threshold. Probably should not changeboxThresh
- Minimum confidence for a box to be added. Basically just confidence threshold
-
release
public void release()
-