Example usage for org.opencv.core Mat Mat

List of usage examples for org.opencv.core Mat Mat

Introduction

In this page you can find the example usage for org.opencv.core Mat Mat.

Prototype

public Mat(long addr) 

Source Link

Usage

From source file:de.hhn.android.licenseplatedecoder.decoder.CountryExtractor.java

/**
 * Gets the characters from the input image calling process method
 * @return the list of cropped images//from  www.  j  a va 2s . c o  m
 */
private ArrayList<Mat> getCharacters() {
    ArrayList<Mat> result = new ArrayList<Mat>();
    long[] address = this.process();
    if (address == null)
        return new ArrayList<Mat>();
    for (long elem : address) {
        result.add(new Mat(elem));
    }
    return result;
}