halcon算子 text_line_orientation

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

猜你喜欢

转载自blog.csdn.net/weixin_43197380/article/details/90375363
今日推荐