Beispiel #1
0
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       VisionProxyJNI.delete_OCRRect(swigCPtr);
     }
     swigCPtr = 0;
   }
 }
Beispiel #2
0
 public synchronized void delete() {
   if (swigCPtr != 0) {
     if (swigCMemOwn) {
       swigCMemOwn = false;
       VisionProxyJNI.delete_OCRParagraph(swigCPtr);
     }
     swigCPtr = 0;
   }
   super.delete();
 }
Beispiel #3
0
 public void reserve(long n) {
   VisionProxyJNI.OCRWords_reserve(swigCPtr, this, n);
 }
Beispiel #4
0
 public void setWidth(int value) {
   VisionProxyJNI.OCRRect_width_set(swigCPtr, this, value);
 }
Beispiel #5
0
 public void setHeight(int value) {
   VisionProxyJNI.OCRRect_height_set(swigCPtr, this, value);
 }
Beispiel #6
0
 public void setY(int value) {
   VisionProxyJNI.OCRRect_y_set(swigCPtr, this, value);
 }
Beispiel #7
0
 public OCRRect() {
   this(VisionProxyJNI.new_OCRRect__SWIG_0(), true);
 }
Beispiel #8
0
 public Vision() {
   this(VisionProxyJNI.new_Vision(), true);
 }
Beispiel #9
0
 public static void setSParameter(String param, String val) {
   VisionProxyJNI.Vision_setSParameter(param, val);
 }
Beispiel #10
0
 protected OCRParagraph(long cPtr, boolean cMemoryOwn) {
   super(VisionProxyJNI.OCRParagraph_SWIGUpcast(cPtr), cMemoryOwn);
   swigCPtr = cPtr;
 }
Beispiel #11
0
 public void set(int i, OCRWord val) {
   VisionProxyJNI.OCRWords_set(swigCPtr, this, i, OCRWord.getCPtr(val), val);
 }
Beispiel #12
0
 public OCRWord get(int i) {
   return new OCRWord(VisionProxyJNI.OCRWords_get(swigCPtr, this, i), false);
 }
Beispiel #13
0
 public void add(OCRWord x) {
   VisionProxyJNI.OCRWords_add(swigCPtr, this, OCRWord.getCPtr(x), x);
 }
Beispiel #14
0
 public void clear() {
   VisionProxyJNI.OCRWords_clear(swigCPtr, this);
 }
Beispiel #15
0
 public boolean isEmpty() {
   return VisionProxyJNI.OCRWords_isEmpty(swigCPtr, this);
 }
Beispiel #16
0
 public static Mat createMat(int _rows, int _cols, byte[] _data) {
   return new Mat(VisionProxyJNI.Vision_createMat(_rows, _cols, _data), true);
 }
Beispiel #17
0
 public static float getParameter(String param) {
   return VisionProxyJNI.Vision_getParameter(param);
 }
Beispiel #18
0
 public OCRLines getLines() {
   return new OCRLines(VisionProxyJNI.OCRParagraph_getLines(swigCPtr, this), true);
 }
Beispiel #19
0
 public static String getSParameter(String param) {
   return VisionProxyJNI.Vision_getSParameter(param);
 }
Beispiel #20
0
 public OCRParagraph() {
   this(VisionProxyJNI.new_OCRParagraph(), true);
 }
Beispiel #21
0
 public static FindResults findChanges(FindInput q) {
   return new FindResults(VisionProxyJNI.Vision_findChanges(FindInput.getCPtr(q), q), true);
 }
Beispiel #22
0
 public static double compare(Mat m1, Mat m2) {
   return VisionProxyJNI.Vision_compare(Mat.getCPtr(m1), m1, Mat.getCPtr(m2), m2);
 }
Beispiel #23
0
 public OCRRect(int x_, int y_, int width_, int height_) {
   this(VisionProxyJNI.new_OCRRect__SWIG_1(x_, y_, width_, height_), true);
 }
Beispiel #24
0
 public static void initOCR(String ocrDataPath) {
   VisionProxyJNI.Vision_initOCR(ocrDataPath);
 }
Beispiel #25
0
 public int getY() {
   return VisionProxyJNI.OCRRect_y_get(swigCPtr, this);
 }
Beispiel #26
0
 public static OCRText recognize_as_ocrtext(Mat image) {
   return new OCRText(VisionProxyJNI.Vision_recognize_as_ocrtext(Mat.getCPtr(image), image), true);
 }
Beispiel #27
0
 public int getHeight() {
   return VisionProxyJNI.OCRRect_height_get(swigCPtr, this);
 }
Beispiel #28
0
 public static String recognizeWord(Mat image) {
   return VisionProxyJNI.Vision_recognizeWord(Mat.getCPtr(image), image);
 }
Beispiel #29
0
 public int getWidth() {
   return VisionProxyJNI.OCRRect_width_get(swigCPtr, this);
 }
Beispiel #30
0
 public long capacity() {
   return VisionProxyJNI.OCRWords_capacity(swigCPtr, this);
 }