public class DJLImagePreprocessor extends Object
| 构造器和说明 |
|---|
DJLImagePreprocessor(ai.djl.modality.cv.Image image,
ai.djl.ndarray.NDManager manager) |
| 限定符和类型 | 方法和说明 |
|---|---|
DJLImagePreprocessor |
enableAffine(double[][] keyPoints,
int targetWidth,
int targetHeight) |
DJLImagePreprocessor |
enableCrop(DetectionRectangle rect) |
ai.djl.modality.cv.Image |
process() |
public DJLImagePreprocessor(ai.djl.modality.cv.Image image,
ai.djl.ndarray.NDManager manager)
public DJLImagePreprocessor enableCrop(DetectionRectangle rect)
public DJLImagePreprocessor enableAffine(double[][] keyPoints, int targetWidth, int targetHeight)
public ai.djl.modality.cv.Image process()
Copyright © 2025. All rights reserved.