Halcon 光度立体技术 读取轮胎上的印迹字母

1 问题描述

这个程序演示了使用光度立体技术,以低成本的设置读取轮胎上的印迹字母。即使光源不是很均匀,它们的方向也只是非常粗略地知道,文本也可以被稳健地读取。
请添加图片描述

2 关键代码演示

* Segment text and base line
* The base line of the text is used to align the text horizontally (to simplify the OCR)文本的基线用于水平对齐文本(以简化OCR)threshold (Result

猜你喜欢

转载自blog.csdn.net/m0_51233386/article/details/131170656