org.opencv.core.MatOfRect2d Java Examples

The following examples show how to use org.opencv.core.MatOfRect2d. 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: Dnn.java    From VIA-AI with MIT License 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d 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_3(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta, top_k);
    
    return;
}
 
Example #2
Source File: Dnn.java    From VIA-AI with MIT License 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d 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_4(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta);
    
    return;
}
 
Example #3
Source File: Dnn.java    From VIA-AI with MIT License 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices)
{
    Mat bboxes_mat = bboxes;
    Mat scores_mat = scores;
    Mat indices_mat = indices;
    NMSBoxes_5(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj);
    
    return;
}
 
Example #4
Source File: Dnn.java    From LPR with Apache License 2.0 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d 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_3(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta, top_k);
    
    return;
}
 
Example #5
Source File: Dnn.java    From LPR with Apache License 2.0 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d 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_4(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta);
    
    return;
}
 
Example #6
Source File: Dnn.java    From LPR with Apache License 2.0 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices)
{
    Mat bboxes_mat = bboxes;
    Mat scores_mat = scores;
    Mat indices_mat = indices;
    NMSBoxes_5(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj);
    
    return;
}
 
Example #7
Source File: Dnn.java    From LicensePlateDiscern with MIT License 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d 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_3(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta, top_k);
    
    return;
}
 
Example #8
Source File: Dnn.java    From LicensePlateDiscern with MIT License 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d 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_4(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj, eta);
    
    return;
}
 
Example #9
Source File: Dnn.java    From LicensePlateDiscern with MIT License 5 votes vote down vote up
public static void NMSBoxes(MatOfRect2d bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices)
{
    Mat bboxes_mat = bboxes;
    Mat scores_mat = scores;
    Mat indices_mat = indices;
    NMSBoxes_5(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj);
    
    return;
}
 
Example #10
Source File: MultiTracker.java    From OpenCvFaceDetect with Apache License 2.0 5 votes vote down vote up
public  boolean update(Mat image, MatOfRect2d boundingBox)
{
    Mat boundingBox_mat = boundingBox;
    boolean retVal = update_0(nativeObj, image.nativeObj, boundingBox_mat.nativeObj);
    
    return retVal;
}
 
Example #11
Source File: MultiTracker.java    From OpenCvFaceDetect with Apache License 2.0 3 votes vote down vote up
public  MatOfRect2d getObjects()
{
    
    MatOfRect2d retVal = MatOfRect2d.fromNativeAddr(getObjects_0(nativeObj));
    
    return retVal;
}