摘要
OpenCV是一种开放源代码的计算机视觉库,在图像处理领域有着广泛的应用。但OpenCV只提供了西文字符的输出,并不支持汉字的输出,这就给某些基于OpenCV的图像处理系统的开发带来了一定的困难。在对OpenCV研究的基础上,基于FreeType的字库提取技术实现了OpenCV中汉字的输出。该方法和传统的汉字处理方法相比,有很好的可移植性,可运行与Windows/Linux等系统,对于其它环境下汉字的输出实现也有一定的指导意义。
As a Intel open source computer vision library, OpenCV has already been used in every field, such as image processing and so on. But OpenCV only provides the draw method of western characters, does not support the draw of Chinese characters, and brings many difficulties to the development of some image processing systems. Based on analysis of OpenCV and the FreeType technology, the Chinese characters draws in OpenCV are realized. This technology is also used in many other systems like Linux.
出处
《计算机工程与设计》
CSCD
北大核心
2008年第19期5093-5095,共3页
Computer Engineering and Design
基金
科技型中小企业技术创新基金项目(0177N84417727000006662142)