推荐一个JAVA的拍照Camera Capture调用包
GITHUB 网址: https://github.com/sarxos/webcam-capture
前一阵子在windows7 64位上开发个小软件,但要调用电脑摄像头。用JMF,但一直不好调试,老不成功,后来发现了这个国外的Jar包,经过相关的下载后,还挺快的。网站上还提供了很多示例。不错,所以分享下。
- Simple, thread-safe and non-blocking API,
- No additional software required,
- Supports multiple platforms (Windows, Linux, Mac OS, etc) and various architectures (32-bit, 64-bit, ARM),
- Stream images from build-in or USB-connected PC webcams,
- Stream images from IP / network cameras (as MJPEG or JPEG),
- Detect motion,
- All required JARs Available in Maven Central,
- Can re-stream images as MJPEG,
- Available as standalone ZIP binaries with all dependencies included,
- Supports additional video grabbing drivers (such as OpenIMAJ, LTI-CIVIL, JMF, FMJ, OpenCV, VLC, IP Camera),
- Ready to use Swing component designed to display image from webcam / IP / network camera,
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。