@Namespace(value="cv::dnn") @Properties(inherit=opencv_dnn.class) public class TextDetectionModel extends Model
Model.ImplPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
TextDetectionModel(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
detect(GpuMat frame,
PointVectorVector detections) |
void |
detect(GpuMat frame,
PointVectorVector detections,
float[] confidences) |
void |
detect(GpuMat frame,
PointVectorVector detections,
FloatBuffer confidences) |
void |
detect(GpuMat frame,
PointVectorVector detections,
FloatPointer confidences) |
void |
detect(Mat frame,
PointVectorVector detections)
\overload
|
void |
detect(Mat frame,
PointVectorVector detections,
float[] confidences) |
void |
detect(Mat frame,
PointVectorVector detections,
FloatBuffer confidences) |
void |
detect(Mat frame,
PointVectorVector detections,
FloatPointer confidences)
\brief Performs detection
Given the input \p frame, prepare network input, run network inference, post-process network output and return result detections.
|
void |
detect(UMat frame,
PointVectorVector detections) |
void |
detect(UMat frame,
PointVectorVector detections,
float[] confidences) |
void |
detect(UMat frame,
PointVectorVector detections,
FloatBuffer confidences) |
void |
detect(UMat frame,
PointVectorVector detections,
FloatPointer confidences) |
void |
detectTextRectangles(GpuMat frame,
RotatedRect detections) |
void |
detectTextRectangles(GpuMat frame,
RotatedRect detections,
float[] confidences) |
void |
detectTextRectangles(GpuMat frame,
RotatedRect detections,
FloatBuffer confidences) |
void |
detectTextRectangles(GpuMat frame,
RotatedRect detections,
FloatPointer confidences) |
void |
detectTextRectangles(Mat frame,
RotatedRect detections)
\overload
|
void |
detectTextRectangles(Mat frame,
RotatedRect detections,
float[] confidences) |
void |
detectTextRectangles(Mat frame,
RotatedRect detections,
FloatBuffer confidences) |
void |
detectTextRectangles(Mat frame,
RotatedRect detections,
FloatPointer confidences)
\brief Performs detection
Given the input \p frame, prepare network input, run network inference, post-process network output and return result detections.
|
void |
detectTextRectangles(UMat frame,
RotatedRect detections) |
void |
detectTextRectangles(UMat frame,
RotatedRect detections,
float[] confidences) |
void |
detectTextRectangles(UMat frame,
RotatedRect detections,
FloatBuffer confidences) |
void |
detectTextRectangles(UMat frame,
RotatedRect detections,
FloatPointer confidences) |
asNet, getImpl, getImplRef, getNetwork_, getPointer, position, predict, predict, predict, predict, predict, predict, predict, predict, predict, put, setInputCrop, setInputMean, setInputParams, setInputParams, setInputScale, setInputSize, setInputSize, setInputSwapRB, setPreferableBackend, setPreferableTargetaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic TextDetectionModel(Pointer p)
Pointer(Pointer).public void detect(@ByVal Mat frame, @ByRef PointVectorVector detections, @StdVector FloatPointer confidences)
frame - [in] The input imagedetections - [out] array with detections' quadrangles (4 points per result)confidences - [out] array with detection confidencespublic void detect(@ByVal Mat frame, @ByRef PointVectorVector detections, @StdVector FloatBuffer confidences)
public void detect(@ByVal Mat frame, @ByRef PointVectorVector detections, @StdVector float[] confidences)
public void detect(@ByVal UMat frame, @ByRef PointVectorVector detections, @StdVector FloatPointer confidences)
public void detect(@ByVal UMat frame, @ByRef PointVectorVector detections, @StdVector FloatBuffer confidences)
public void detect(@ByVal UMat frame, @ByRef PointVectorVector detections, @StdVector float[] confidences)
public void detect(@ByVal GpuMat frame, @ByRef PointVectorVector detections, @StdVector FloatPointer confidences)
public void detect(@ByVal GpuMat frame, @ByRef PointVectorVector detections, @StdVector FloatBuffer confidences)
public void detect(@ByVal GpuMat frame, @ByRef PointVectorVector detections, @StdVector float[] confidences)
public void detect(@ByVal Mat frame, @ByRef PointVectorVector detections)
public void detect(@ByVal UMat frame, @ByRef PointVectorVector detections)
public void detect(@ByVal GpuMat frame, @ByRef PointVectorVector detections)
public void detectTextRectangles(@ByVal Mat frame, @StdVector RotatedRect detections, @StdVector FloatPointer confidences)
frame - [in] the input imagedetections - [out] array with detections' RotationRect resultsconfidences - [out] array with detection confidencespublic void detectTextRectangles(@ByVal Mat frame, @StdVector RotatedRect detections, @StdVector FloatBuffer confidences)
public void detectTextRectangles(@ByVal Mat frame, @StdVector RotatedRect detections, @StdVector float[] confidences)
public void detectTextRectangles(@ByVal UMat frame, @StdVector RotatedRect detections, @StdVector FloatPointer confidences)
public void detectTextRectangles(@ByVal UMat frame, @StdVector RotatedRect detections, @StdVector FloatBuffer confidences)
public void detectTextRectangles(@ByVal UMat frame, @StdVector RotatedRect detections, @StdVector float[] confidences)
public void detectTextRectangles(@ByVal GpuMat frame, @StdVector RotatedRect detections, @StdVector FloatPointer confidences)
public void detectTextRectangles(@ByVal GpuMat frame, @StdVector RotatedRect detections, @StdVector FloatBuffer confidences)
public void detectTextRectangles(@ByVal GpuMat frame, @StdVector RotatedRect detections, @StdVector float[] confidences)
public void detectTextRectangles(@ByVal Mat frame, @StdVector RotatedRect detections)
public void detectTextRectangles(@ByVal UMat frame, @StdVector RotatedRect detections)
public void detectTextRectangles(@ByVal GpuMat frame, @StdVector RotatedRect detections)
Copyright © 2021. All rights reserved.