[−][src]Crate video_analytics
This crate wraps gstreamer
and opencv
to simplify the interface of
loading videos. Currenlty it only supports loading image but adding video
files is easy (TODO).
There are two types of data that can be loaded: frame (cv::Mat
) and x264
encoded bytes. Both interface will return a Receiver
Internally there will be multiple threads running (two for load_frame
;
four for load_x264
).
Illustrated in a diagram as below:
Interface 1 Interface 2 (tx, rx) schedule_recv => frame_loader => gstreamer => x264_loader => APP
We also support directly loading x264 encoded stream from file.
Modules
loader |