文件名称:Java
介绍说明--下载内容来自于网络,使用问题请自行百度
首先到sun下载最新的jmf,然后安装。http://java.sun.com/products/java-media/jmf/index.jsp
然后,说一下需求
1. 用摄像头拍照
2. 在文本框输入文件名
3. 按下拍照按钮,获取摄像头内的图像
4. 在拍下的照片上有一红框截取固定大小的照片。
5. 保存为本地图像为jpg格式,不得压缩画质
技术关键,相信也是大家最感兴趣的部分也就是如何让一个摄像头工作,并拍下一张照片了。
利用jmf,代码很简单:
-First of all to the sun to download the latest jmf, and then install. http://java.sun.com/products/java-media/jmf/index.jsp Then, say something needs one. Photographed with the camera 2. In the text box to enter the file name 3. Press the camera button, and get the image within the camera 4. In the photographs taken on a red box interception of fixed-size photos. 5. Saved as a local image as a jpg format, no compression technology, the key to quality, I believe and the most interesting part is how to make a camera work, and captured a picture of. Use jmf, the code is very simple:
然后,说一下需求
1. 用摄像头拍照
2. 在文本框输入文件名
3. 按下拍照按钮,获取摄像头内的图像
4. 在拍下的照片上有一红框截取固定大小的照片。
5. 保存为本地图像为jpg格式,不得压缩画质
技术关键,相信也是大家最感兴趣的部分也就是如何让一个摄像头工作,并拍下一张照片了。
利用jmf,代码很简单:
-First of all to the sun to download the latest jmf, and then install. http://java.sun.com/products/java-media/jmf/index.jsp Then, say something needs one. Photographed with the camera 2. In the text box to enter the file name 3. Press the camera button, and get the image within the camera 4. In the photographs taken on a red box interception of fixed-size photos. 5. Saved as a local image as a jpg format, no compression technology, the key to quality, I believe and the most interesting part is how to make a camera work, and captured a picture of. Use jmf, the code is very simple:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Java.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.