Package org.photonvision.vision.objects
Class RknnModel
java.lang.Object
org.photonvision.vision.objects.RknnModel
- All Implemented Interfaces:
Model
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
modelFile
-
version
public final org.photonvision.rknn.RknnJNI.ModelVersion version -
labels
-
inputSize
public final org.opencv.core.Size inputSize
-
-
Constructor Details
-
RknnModel
rknn model constructor.- Parameters:
modelFile
- path to model on disk. Format: `name-width-height-model.rknn`labels
- path to labels file on disk- Throws:
IllegalArgumentException
IOException
-
-
Method Details