期刊文献+

linux环境下基于usb摄像头的图片采集与分析 被引量:1

Under linux environment based on usb camera's picture gathering and analysis
下载PDF
导出
摘要 video4linux提供了一整套linux环境下操纵视频设备的函数接口,首先通过对video4linux函数的调用成功实现了两种方式(内存映射(mmap)和直接读取(read))下摄像头数据的读取;然后对读取到内存缓冲区中的RGB数据流进行分析,实现了同时对两种特定颜色(红、绿、蓝等)的识别,并给出相应色块的端点坐标;最后通过对特定颜色箭头的端点分析,识别了箭头指向的角度;为了便于调试程序和验证结果,分析完成后把缓冲区中的RGB流保存为BMP文件。 Video41inux provide a set of linux environment under the manipulation of video equipment function connection, frist the paper through the using video41inux function Successfully achieve in two ways (memory mapping (mmap) and direct readers (read)) under the camera data read ,then the RGB data flow that read to the memory of the buffer zone will be analysed, the two realized at the same time a specific color (red, green, blue, etc. ) to identify, and gives the corresponding color coordinates of the endpoint; Finally, Arrow on a specific color of the endpoint, identify the arrow pointing to the point of view; In order to facilitate the adjustment process and verify the results, after the completion of the buffer zone in the RGB flow saved as BMP file.
作者 李应真 刘松
出处 《信阳农业高等专科学校学报》 2009年第1期145-147,共3页 Journal of Xinyang Agricultural College
关键词 VIDEO4LINUX 内存映射 直接设备读取 video41inux memory mapping direct readers
  • 相关文献

参考文献1

  • 1(美)RichardPetersen著,梁普选,刘玉芬等.Linux编程命令详解[M]电子工业出版社,2001.

同被引文献2

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部