CudaVideoReaderNextFrame Method |
http://www.emgu.com
Grabs, decodes and returns the next video frame.
Namespace:
Emgu.CV.Cuda
Assembly:
Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntaxpublic bool NextFrame(
GpuMat frame,
Stream stream = null
)
Public Function NextFrame (
frame As GpuMat,
Optional stream As Stream = Nothing
) As Boolean
public:
bool NextFrame(
GpuMat^ frame,
Stream^ stream = nullptr
)
member NextFrame :
frame : GpuMat *
?stream : Stream
(* Defaults:
let _stream = defaultArg stream null
*)
-> bool
Parameters
- frame
- Type: Emgu.CV.CudaGpuMat
The frame - stream (Optional)
- Type: Emgu.CV.CudaStream
Use a Stream to call the function asynchronously (non-blocking) or null to call the function synchronously (blocking).
Return Value
Type:
BooleanIf no frames has been grabbed (there are no more frames in video file), the methods return false .
See Also