作者:校园英语杂志社 字数:2832 点击:

作者:王望
  【Abstract】In this paper, a simple application based on open source computer library in image acquisition by camera was introduced, and the procedure of image acquisition and contour extraction was illustrated through a concrete example. The experiment results show the validity of the method.
  【Key words 】computer vision; image acquisition; OpenCV; contour extraction
  【作者簡介】王望(1988.04- ),男,汉族,,河南三门峡人,洛阳科技职业学院,信息工程学院计算机应用专业教师,硕士研究生,研究方向:智能信息处理。
  INTRODUCTION
  OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products. Being a BSD-licensed product, OpenCV makes it easy for businesses to utilize and modify the code.
  The library has more than 2500 optimized algorithms, which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms. These algorithms can be used to detect and recognize faces, identify objects, classify human actions in videos, track camera movements, track moving objects, extract 3D models of objects, produce 3D po+int clouds from stereo cameras, stitch images together to produce a high resolution image of an entire scene, find similar images from an image database, remove red eyes from images taken using flash, follow eye movements, recognize scenery and establish markers to overlay it with augmented reality, etc. OpenCV has more than 47 thousand people of user community and estimated number of downloads exceeding 5 million. The library is used extensively in companies, research groups and by governmental bodies.
  It has C++, C, Python and Java interfaces and supports Windows, Linux, Android and Mac OS. OpenCV leans mostly towards real-time vision applications and takes advantage of MMX and SSE instructions when available. A full-featured CUDA interface is being actively developed right now. There are over 500 algorithms and about 10 times as many functions that compose or support those algorithms. OpenCV is written natively in C++ and has a templated interface that works seamlessly with STL containers.
  This paper will be structured as follows; In Section II , the basic principle of image acquisition and contour extraction will be exposed; In Section III, the experimental results and the output images will be displayed; In section IV, the proposed image processing method will be concluded as well.