class VideoCapture之VideoCapture::grab
来源:互联网 发布:淘宝省钱app 编辑:程序博客网 时间:2024/06/04 19:03
Grabs the next frame from video file or capturing device.
- C++: bool VideoCapture::grab()
- Python: cv2.VideoCapture.grab() → retval
- C: int cvGrabFrame(CvCapture* capture)
- Python: cv.GrabFrame(capture) → int
The methods/functions grab the next frame from video file or camera and return true (non-zero) in the case of success.
The primary use of the function is in multi-camera environments, especially when the cameras do not have hardware synchronization. That is, you call VideoCapture::grab() for each camera and after that call the slower methodVideoCapture::retrieve() to decode and get frame from each camera. This way the overhead on demosaicing or motion jpeg decompression etc. is eliminated and the retrieved frames from different cameras will be closer in time.
Also, when a connected camera is multi-head (for example, a stereo camera or a Kinect device), the correct way of retrieving data from it is to call VideoCapture::grab first and then call VideoCapture::retrieve() one or more times with different values of the channel parameter.
- class VideoCapture之VideoCapture::grab
- class VideoCapture之:: VideoCapture
- VideoCapture之grab()和retrieve()
- VideoCapture
- opencv学习之VideoCapture
- class CV_EXPORTS_W VideoCapture定义浅析
- opencv学习之VideoCapture类
- VideoCapture控件
- VideoCapture::retrieve
- VideoCapture类
- VideoCapture类
- OpenCV -- VideoCapture
- VideoCapture类
- opencv4-videoCapture
- VideoCapture类
- VideoCapture类
- undefined reference to `cv::VideoCapture::VideoCapture()'
- 诡异的VideoCapture
- linux顶半部和底半部中断机制
- Linux 下找不到ifconfig命令
- ubuntu12.04安装samba
- Erlang 命令行监控工具
- Nginx的Rewrite规则与实例
- class VideoCapture之VideoCapture::grab
- Linux中判断文件是否存在
- 在内核linux-3.1-rc4中加入系统调用 (32位和64位)
- 底半部机制分析:软中断,tasklet,工作队列
- JAVA7的新特性之钻石操作符和加强的Switch语句
- java compiler level does not match the version of the installed java project facet
- 采用匹配规则来填充String.xml中的资源
- 浅谈HTTPS传输协议原理
- 第四周—3.程序的多文件组织