org.opencv.core.MatOfRect Java Examples
The following examples show how to use
org.opencv.core.MatOfRect.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HOGDescriptor.java From LPR with Apache License 2.0 | 5 votes |
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights) { Mat foundLocations_mat = foundLocations; Mat foundWeights_mat = foundWeights; detectMultiScale_6(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj); return; }
Example #2
Source File: HOGDescriptor.java From Form-N-Fun with MIT License | 5 votes |
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold, boolean useMeanshiftGrouping) { Mat foundLocations_mat = foundLocations; Mat foundWeights_mat = foundWeights; detectMultiScale_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, scale, finalThreshold, useMeanshiftGrouping); return; }
Example #3
Source File: MSER.java From opencv-documentscanner-android with Apache License 2.0 | 5 votes |
public void detectRegions(Mat image, List<MatOfPoint> msers, MatOfRect bboxes) { Mat msers_mat = new Mat(); Mat bboxes_mat = bboxes; detectRegions_0(nativeObj, image.nativeObj, msers_mat.nativeObj, bboxes_mat.nativeObj); Converters.Mat_to_vector_vector_Point(msers_mat, msers); msers_mat.release(); return; }
Example #4
Source File: CascadeClassifier.java From PixaToon with GNU General Public License v3.0 | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_0(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height); return; }
Example #5
Source File: Objdetect.java From OpenCvFaceDetect with Apache License 2.0 | 5 votes |
public static void groupRectangles(MatOfRect rectList, MatOfInt weights, int groupThreshold) { Mat rectList_mat = rectList; Mat weights_mat = weights; groupRectangles_1(rectList_mat.nativeObj, weights_mat.nativeObj, groupThreshold); return; }
Example #6
Source File: CascadeClassifier.java From OpenCV-Android-Object-Detection with MIT License | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_1(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj); return; }
Example #7
Source File: CascadeClassifier.java From Camdroid with Apache License 2.0 | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_0(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height); return; }
Example #8
Source File: HOGDescriptor.java From MOAAP with MIT License | 5 votes |
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights) { Mat foundLocations_mat = foundLocations; Mat foundWeights_mat = foundWeights; detectMultiScale_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj); return; }
Example #9
Source File: CascadeClassifier.java From Machine-Learning-Projects-for-Mobile-Applications with MIT License | 5 votes |
public void detectMultiScale(Mat image, MatOfRect objects, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) { Mat objects_mat = objects; detectMultiScale_0(nativeObj, image.nativeObj, objects_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height); return; }
Example #10
Source File: Objdetect.java From pasm-yolov3-Android with GNU General Public License v3.0 | 5 votes |
public static void groupRectangles(MatOfRect rectList, MatOfInt weights, int groupThreshold) { Mat rectList_mat = rectList; Mat weights_mat = weights; groupRectangles_1(rectList_mat.nativeObj, weights_mat.nativeObj, groupThreshold); return; }
Example #11
Source File: TextDetectorCNN.java From OpenCvFaceDetect with Apache License 2.0 | 5 votes |
public void detect(Mat inputImage, MatOfRect Bbox, MatOfFloat confidence) { Mat Bbox_mat = Bbox; Mat confidence_mat = confidence; detect_0(nativeObj, inputImage.nativeObj, Bbox_mat.nativeObj, confidence_mat.nativeObj); return; }
Example #12
Source File: CascadeClassifier.java From Image-Detection-Samples with Apache License 2.0 | 5 votes |
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights) { Mat objects_mat = objects; Mat rejectLevels_mat = rejectLevels; Mat levelWeights_mat = levelWeights; detectMultiScale3_1(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj); return; }
Example #13
Source File: CascadeClassifier.java From Form-N-Fun with MIT License | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_1(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj); return; }
Example #14
Source File: CascadeClassifier.java From LPR with Apache License 2.0 | 5 votes |
public void detectMultiScale(Mat image, MatOfRect objects, double scaleFactor, int minNeighbors, int flags, Size minSize) { Mat objects_mat = objects; detectMultiScale_1(nativeObj, image.nativeObj, objects_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height); return; }
Example #15
Source File: HOGDescriptor.java From OpenCvFaceDetect with Apache License 2.0 | 5 votes |
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold) { Mat foundLocations_mat = foundLocations; Mat foundWeights_mat = foundWeights; detectMultiScale_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, scale, finalThreshold); return; }
Example #16
Source File: Dnn.java From OpenCvFaceDetect with Apache License 2.0 | 5 votes |
public static void NMSBoxes(MatOfRect bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices, float eta, int top_k) { Mat bboxes_mat = bboxes; Mat scores_mat = scores; Mat indices_mat = indices; NMSBoxes_0(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta, top_k); return; }
Example #17
Source File: CascadeClassifier.java From OpenCvFaceDetect with Apache License 2.0 | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_4(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor); return; }
Example #18
Source File: MSER.java From MOAAP with MIT License | 5 votes |
public void detectRegions(Mat image, List<MatOfPoint> msers, MatOfRect bboxes) { Mat msers_mat = new Mat(); Mat bboxes_mat = bboxes; detectRegions_0(nativeObj, image.nativeObj, msers_mat.nativeObj, bboxes_mat.nativeObj); Converters.Mat_to_vector_vector_Point(msers_mat, msers); msers_mat.release(); return; }
Example #19
Source File: Dnn.java From pasm-yolov3-Android with GNU General Public License v3.0 | 5 votes |
public static void NMSBoxes(MatOfRect bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices, float eta) { Mat bboxes_mat = bboxes; Mat scores_mat = scores; Mat indices_mat = indices; NMSBoxes_1(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta); return; }
Example #20
Source File: CascadeClassifier.java From OpenCvFaceDetect with Apache License 2.0 | 5 votes |
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, boolean outputRejectLevels) { Mat objects_mat = objects; Mat rejectLevels_mat = rejectLevels; Mat levelWeights_mat = levelWeights; detectMultiScale3_0(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height, outputRejectLevels); return; }
Example #21
Source File: CascadeClassifier.java From MOAAP with MIT License | 5 votes |
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights) { Mat objects_mat = objects; Mat rejectLevels_mat = rejectLevels; Mat levelWeights_mat = levelWeights; detectMultiScale3_1(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj); return; }
Example #22
Source File: CascadeClassifier.java From SimpleDocumentScanner-Android with MIT License | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_1(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj); return; }
Example #23
Source File: MSER.java From LPR with Apache License 2.0 | 5 votes |
public void detectRegions(Mat image, List<MatOfPoint> msers, MatOfRect bboxes) { Mat msers_mat = new Mat(); Mat bboxes_mat = bboxes; detectRegions_0(nativeObj, image.nativeObj, msers_mat.nativeObj, bboxes_mat.nativeObj); Converters.Mat_to_vector_vector_Point(msers_mat, msers); msers_mat.release(); return; }
Example #24
Source File: Dnn.java From LPR with Apache License 2.0 | 5 votes |
public static void NMSBoxes(MatOfRect bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices) { Mat bboxes_mat = bboxes; Mat scores_mat = scores; Mat indices_mat = indices; NMSBoxes_2(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj); return; }
Example #25
Source File: CascadeClassifier.java From pasm-yolov3-Android with GNU General Public License v3.0 | 5 votes |
public void detectMultiScale(Mat image, MatOfRect objects, double scaleFactor) { Mat objects_mat = objects; detectMultiScale_4(nativeObj, image.nativeObj, objects_mat.nativeObj, scaleFactor); return; }
Example #26
Source File: HOGDescriptor.java From MOAAP with MIT License | 5 votes |
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold, boolean useMeanshiftGrouping) { Mat foundLocations_mat = foundLocations; Mat foundWeights_mat = foundWeights; detectMultiScale_0(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj, hitThreshold, winStride.width, winStride.height, padding.width, padding.height, scale, finalThreshold, useMeanshiftGrouping); return; }
Example #27
Source File: CascadeClassifier.java From pasm-yolov3-Android with GNU General Public License v3.0 | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_5(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj); return; }
Example #28
Source File: CascadeClassifier.java From react-native-documentscanner-android with MIT License | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_0(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height); return; }
Example #29
Source File: CascadeClassifier.java From FaceDetectDemo with Apache License 2.0 | 5 votes |
public void detectMultiScale3(Mat image, MatOfRect objects, MatOfInt rejectLevels, MatOfDouble levelWeights, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize, boolean outputRejectLevels) { Mat objects_mat = objects; Mat rejectLevels_mat = rejectLevels; Mat levelWeights_mat = levelWeights; detectMultiScale3_0(nativeObj, image.nativeObj, objects_mat.nativeObj, rejectLevels_mat.nativeObj, levelWeights_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height, outputRejectLevels); return; }
Example #30
Source File: CascadeClassifier.java From SmartPaperScan with Apache License 2.0 | 5 votes |
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) { Mat objects_mat = objects; Mat numDetections_mat = numDetections; detectMultiScale2_0(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height); return; }