readme.txt

来自「2410下面摄像头抓图程序」· 文本 代码 · 共 25 行

TXT
25
字号
/****************************************************************************
Mouse-capture Version 2:2006-7-5
This program is used to get continuous pictures from a jpeg webcam to show them in lcd(240x320,Of course,you can modify the size).
It is made for ARM9.
It is modified from servfox by daily3(戴丽 戴小鼠 in Hefei University of Technology and HHCN-BBS).
Thanks to 我爱狗熊.
If you have problems ,you can contact me.
Email:daily3@126.com
Wish you some useful help!
Best Wish to the orignal authors! Thank you very much!
****************************************************************************/

USAGE:
1.First,you must make your minigui support jpeg.If you have no experiences,you can refer to http://www.hhcn.org/maindoc/USB_Camera_base_on_Video4Linux.pdf 基于Video4Linux 的USB 摄像头图像采集实现.
1.Cross compile.Directly make then create executable file-serv in the root directory.
2.Put it on ramdisk or just nfs to test it.
3.Execute it then continuously create a picture in /tmp/1.jpg of ARM9.
4.Then you can see continuous pictures showed in lcd.

Notice:
Webcam capturing has two methods.One is mmap ,the other is read.
In this program,the default method is read,you can modify the value of grabmethod to change the capturing method. 
But in my all tests,the method of read is better:)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?