org.opencv.core.MatOfRotatedRect Java Examples

The following examples show how to use org.opencv.core.MatOfRotatedRect. 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 NMSBoxesRotated(MatOfRotatedRect 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;
    NMSBoxesRotated_0(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 NMSBoxesRotated(MatOfRotatedRect 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;
    NMSBoxesRotated_1(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 NMSBoxesRotated(MatOfRotatedRect bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices)
{
    Mat bboxes_mat = bboxes;
    Mat scores_mat = scores;
    Mat indices_mat = indices;
    NMSBoxesRotated_2(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 NMSBoxesRotated(MatOfRotatedRect 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;
    NMSBoxesRotated_0(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 NMSBoxesRotated(MatOfRotatedRect 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;
    NMSBoxesRotated_1(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 NMSBoxesRotated(MatOfRotatedRect bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices)
{
    Mat bboxes_mat = bboxes;
    Mat scores_mat = scores;
    Mat indices_mat = indices;
    NMSBoxesRotated_2(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 NMSBoxesRotated(MatOfRotatedRect 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;
    NMSBoxesRotated_0(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 NMSBoxesRotated(MatOfRotatedRect 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;
    NMSBoxesRotated_1(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 NMSBoxesRotated(MatOfRotatedRect bboxes, MatOfFloat scores, float score_threshold, float nms_threshold, MatOfInt indices)
{
    Mat bboxes_mat = bboxes;
    Mat scores_mat = scores;
    Mat indices_mat = indices;
    NMSBoxesRotated_2(bboxes_mat.nativeObj, scores_mat.nativeObj, score_threshold, nms_threshold, indices_mat.nativeObj);
    
    return;
}