⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 2410下面摄像头抓图程序
💻 TXT
字号:
/****************************************************************************
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -