999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

Image Acquisition and Processing Based on OpenCV

2018-06-12 08:50:12王望
校園英語·中旬 2018年4期
關鍵詞:智能教師

【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- ),男,漢族,河南三門峽人,洛陽科技職業(yè)學院,信息工程學院計算機應用專業(yè)教師,碩士研究生,研究方向:智能信息處理。

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.

IMAGE ACQUISITION AND PROCESSING

The common computer was used as experimental platform, and during the compiler environment of Microsoft Visual Studio 2010 programming ,compiler, showing result .

Image acquisition

In the image acquisition, 1.2 mega pixel USB camera was used to link computer. The camera was operated by the functions in the OpenCV library directly, that made image acquisition very simple and rapidly.

The main functions and code of image acquisition are showed as following:

CvCapture*capture=cvCreateCameraCapture();

This function will initialize camera and capture video.

IplImage*frame=cvQueryFrame();

This function will grab a frame image.

Image processing

The image processing takes contour extraction as an example, also the contour extraction algorithm was used that in the library. In fact, just using the related function for our goal is pretty easy.

The main functions and code of image acquisition are showed as following:

CvMemStorage*storage=cvCreateMemStorage();

This function will create memory space.

CvSeq*seq;

This will be used to preserve contour points.

cvFindContours();

This function will extraction contour points.

EXPERIMENT and result

In the experiment, a new project with VC++ was builded during the Visual Studio 2010.In the program ,the S key is setted as control key, when the S key is pressed, the program will grab a frame image from video then preserved the image in computer disk, and showed the contour of the image.

The result as the following:

Compared the above pictures, the first picture was original image from video .In the second picture,a obvious error contour is extracted. This error contour was not the expected contour. In the third picture,the threshold was setted lower than fixed value,and fourth picture was the threshold higher than fixed value. Through experiment ,the third picture had a better effect than Fig.2 and Fig.4,that because when light was constant,different threshold value influenced the algorithm of contour extraction,finally affected the result. For threshold value was setted according to environment light intensity,it can be reasoned that the light intensity around the camera influenced the final result as well, because a fixed threshold in the program was setted, so the light intensity changed ,the result changed accordingly.

So two methods can be used to improve the experiment result.First,keep the light intensity around the camera constantly.Second,using adaptive threshold replace the fixed threshold,so the environment changes,it changes automatically.

Conclusion

In the paper, the programming technology based on OpenCV was adopted to realized the image acquisition and edging detection and the experiment results show the method can improve the image processing efficiency. However, there still exists large potential information in digital image. How to extract the relative feature still need further research.

ACKNOWLEDGMENT

This work was supported by Hebei natural science fund (No.F2011409008),Beijing city board of eduction science and technology project(KM201211232008) and the doctoral fund project of North China Institute of Aerospace Engineering(No.KY-2008-02-B).

References:

[1]Gary Bradski and Adrian Kachler.Learning OpenCV[M].Yu shiqi,Liu ruizhen.Tsinghua University Press,2009.

[2]Yu Zhaohui,Pang Yechi and Yu Tao.The Engineering Application and Digital Image Processing of Visual C++[M].China Railway Publishing House,2012.

[3]Zhang Ruisen and Liu Jiwei.Real-Time Distance Measurement and Tracking Based Binocular Robot[J].Chinese Journal of Electron Devices,Vol.30,No.5,pp.1619-1621,2007.

[4]Chen Jun.A 3D Models Acquiring Method for Complex Surface Objects[J].Microcomputer Applications,Vol.32,No.10,pp.22-26,2011.

[5]Zhong Xiaodong.The Design of Eye Tracking System Based on Machine Vision[D].Department of Environmental Science of Xian Electronic and Science University,2010.

[6]Sun Kaipeng and Li Xinjun.Real-Time Visual Tracking Algorithm for Single Moving Object in Clustered Environment[J].Journal of Beijing University of Aeronautics and Astronautics,Vol.34,No.3, pp.345-347,2008.

[7]Yu Shiqi.OpenCV Tutorial[M].Beijing University of Aeronautics and Astronautics Press,2007.

猜你喜歡
智能教師
最美教師
快樂語文(2021年27期)2021-11-24 01:29:04
大山里的教師
黃河之聲(2021年5期)2021-05-15 02:31:24
教師如何說課
甘肅教育(2020年22期)2020-04-13 08:11:16
智能制造 反思與期望
未來教師的當下使命
智能前沿
文苑(2018年23期)2018-12-14 01:06:06
智能前沿
文苑(2018年19期)2018-11-09 01:30:14
智能前沿
文苑(2018年17期)2018-11-09 01:29:26
智能前沿
文苑(2018年21期)2018-11-09 01:22:32
智能制造·AI未來
商周刊(2018年18期)2018-09-21 09:14:46
主站蜘蛛池模板: 97在线观看视频免费| 欧美国产精品不卡在线观看| 亚洲婷婷六月| 高清无码手机在线观看| 毛片免费在线视频| 精品久久久久久成人AV| 色婷婷在线影院| 成人精品在线观看| 亚洲无码高清免费视频亚洲| 一级毛片免费高清视频| 国产网友愉拍精品视频| 欧美综合区自拍亚洲综合天堂 | 亚洲男人的天堂视频| 中文无码毛片又爽又刺激| 伊人国产无码高清视频| 欧美乱妇高清无乱码免费| 国产网站一区二区三区| 亚洲国语自产一区第二页| 99在线视频精品| 亚洲欧美精品一中文字幕| 欧美不卡二区| 国产精品一线天| 国产第一页免费浮力影院| 最新国产高清在线| 国产成人综合久久精品下载| 国产特级毛片aaaaaaa高清| 欧美成人aⅴ| 国产欧美精品一区aⅴ影院| 99精品在线视频观看| 97在线国产视频| 国产精品亚洲αv天堂无码| 欧美激情成人网| 福利在线不卡| 狠狠色狠狠色综合久久第一次| 亚洲欧美自拍一区| 99热国产这里只有精品无卡顿"| 久久男人视频| 国产在线第二页| 自慰高潮喷白浆在线观看| 视频一区亚洲| 色视频久久| 青青青草国产| 99久久精品国产精品亚洲| 狂欢视频在线观看不卡| 欧美成人综合视频| 久久精品一卡日本电影| 国产精品美女免费视频大全| 国产免费久久精品99re丫丫一| 日韩午夜伦| 国产精品护士| 黑人巨大精品欧美一区二区区| 亚洲日产2021三区在线| 亚洲精品高清视频| 呦视频在线一区二区三区| 999精品视频在线| 国模粉嫩小泬视频在线观看| 99精品国产自在现线观看| 毛片久久久| 伊人色婷婷| 久久久久国色AV免费观看性色| 国产日韩丝袜一二三区| 一级香蕉视频在线观看| 毛片免费试看| 亚洲水蜜桃久久综合网站| 四虎永久在线精品国产免费 | 国产乱子伦手机在线| a级毛片免费在线观看| 综合社区亚洲熟妇p| 波多野结衣第一页| 天堂在线亚洲| 欧美翘臀一区二区三区| 亚洲天堂网在线播放| 日本三级欧美三级| 在线欧美日韩| 欧美高清日韩| 久久 午夜福利 张柏芝| 国产99久久亚洲综合精品西瓜tv| 91色爱欧美精品www| 亚洲成a人在线观看| 午夜国产小视频| 久久性视频| 91免费国产高清观看|