简体   繁体   English

使用Java从网络摄像头捕获

[英]Capture from webcam in Java

I am currently working on capturing video from webcam. 我目前正在从网络摄像头捕获视频。 I am currently using JavaCV, I found it could capture from webcam as Image; 我目前正在使用JavaCV,发现它可以从网络摄像头中捕获为Image; however, the problem is, the capturing rate is inconsistent, which makes capturing with an inconsistent FPS; 但是,问题在于捕获速率不一致,这使得捕获的FPS不一致。 so I am working on finding a way to capture video with a consistent FPS and I want to be able to access to each frame directly - do you have recommends of open sourced library? 因此,我正在寻找一种以一致的FPS捕获视频的方法,并且希望能够直接访问每个帧-您是否建议使用开源库?

Here enter link description here you have an example how to create a video in OpenCV and Java. 在这里输入链接描述,这里有一个示例,说明如何使用OpenCV和Java创建视频。 Use it and adjust for your problem :D 用它来调整您的问题:D

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM