public ElementProperties(Orientation orientation, TextLineOrder textLineOrder, WritingDirection writingDirection, float deskewAngle) { this.orientation = orientation; this.textLineOrder = textLineOrder; this.writingDirection = writingDirection; this.deskewAngle = deskewAngle; }
public ElementProperties(Orientation orientation, TextLineOrder textLineOrder, WritingDirection writingDirection, float deskewAngle) { this.orientation = orientation; this.textLineOrder = textLineOrder; this.writingDirection = writingDirection; this.deskewAngle = deskewAngle; }
public void PageIteratorOrientation(IntPtr handle, out Orientation orientation, out WritingDirection writingDirection, out TextLineOrder textLineOrder, out float deskew_angle ) { int intOrientation = 0; int intWritingDirection; int intTextLineOrder; UnsafeTesseractPrimitives.PageIteratorOrientation(handle, out intOrientation, out intWritingDirection, out intTextLineOrder, out deskew_angle); orientation = (Orientation)intOrientation; writingDirection = (WritingDirection)intWritingDirection; textLineOrder = (TextLineOrder)intTextLineOrder; }
public static extern void PageIteratorOrientation(IntPtr handle, out Orientation orientation, out WritingDirection writing_direction, out TextLineOrder textLineOrder, out float deskew_angle);
public static extern void PageIteratorOrientation(IntPtr handle, out Orientation orientation, out WritingDirection writing_direction, out TextLineOrder textLineOrder, out float deskew_angle);
public static extern void TessPageIteratorOrientation( PageIterator handle, out Orientation orientation, out WritingDirection writingDirection, out TextLineOrder textLineOrder, out float deskewAngle);
internal static extern void PageIteratorOrientation(HandleRef handle, out Orientation orientation, out WritingDirection writing_direction, out TextLineOrder textLineOrder, out float deskew_angle);
/// <summary> /// Returns orientation for the block the iterator points to. /// </summary> /// <param name="orientation">The block orientation.</param> /// <param name="writingDirection">The block writing direction.</param> /// <param name="textLineOrder">The block text order.</param> /// <param name="deskewAngle">The block deskew angle, in radians, counter-clockwise.</param> public void GetOrientation(out Orientation orientation, out WritingDirection writingDirection, out TextLineOrder textLineOrder, out float deskewAngle) { NativeMethods.TessPageIteratorOrientation(this, out orientation, out writingDirection, out textLineOrder, out deskewAngle); }