[Halcon&算子] text_line_orientation

阅读 41

2023-12-22


  1. text_line_orientation(Region, Image : : CharHeight, OrientationFrom, OrientationTo : OrientationAngle)
    目的:确定文本行或段落的方向。
    参数一(input_object):文本行区域。可以自己画一个矩形区域,也可以直接输入整个图片为文本行区域
    参数二(input_object):输入图像
    参数三(input_object):文本行的高度
    参数四(input_object):文本行的最小旋转角度
    参数五(input_object):文本行最大旋转角度
    参数六(output_control) :得到的计算的文本行旋转角度。也是我们做需要的,之后对图形文字进行旋转或仿射变换时需要用到该参数


精彩评论(0)

0 0 举报