![]() |
OpenCV
4.5.2
Open Source Computer Vision
|
Namespaces | |
| detail | |
| meta_tag | |
Enumerations | |
| enum | sync_policy { sync_policy::dont_sync, sync_policy::drop } |
Functions | |
| cv::GMat | BGR (const cv::GFrame &in) |
| Gets bgr plane from input frame. More... | |
| GMat | desync (const GMat &g) |
| Starts a desynchronized branch in the graph. More... | |
| G_API_OP (GY,< GMat(GFrame)>,"org.opencv.streaming.Y") | |
| G_API_OP (GUV,< GMat(GFrame)>,"org.opencv.streaming.UV") | |
| G_TYPED_KERNEL (GSize,< GOpaque< Size >(GMat)>,"org.opencv.streaming.size") | |
| G_TYPED_KERNEL (GSizeR,< GOpaque< Size >(GOpaque< Rect >)>,"org.opencv.streaming.sizeR") | |
| G_TYPED_KERNEL (GSizeMF,< GOpaque< Size >(GFrame)>,"org.opencv.streaming.sizeMF") | |
| cv::gapi::GKernelPackage | kernels () |
| Create a kernel package object containing kernels and transformations specified in variadic template argument. More... | |
| template<typename T , typename G > | |
| cv::GOpaque< T > | meta (G g, const std::string &tag) |
| template<typename G > | |
| cv::GOpaque< int64_t > | seq_id (G g) |
| template<typename G > | |
| cv::GOpaque< int64_t > | seqNo (G g) |
| GOpaque< Size > | size (const GMat &src) |
| Gets dimensions from Mat. More... | |
| GOpaque< Size > | size (const GOpaque< Rect > &r) |
| GOpaque< Size > | size (const GFrame &src) |
| Gets dimensions from MediaFrame. More... | |
| template<typename G > | |
| cv::GOpaque< int64_t > | timestamp (G g) |
| GMat | UV (const cv::GFrame &frame) |
| Extracts UV plane from media frame. More... | |
| GMat | Y (const cv::GFrame &frame) |
| Extracts Y plane from media frame. More... | |
|
strong |
| cv::GMat cv::gapi::streaming::BGR | ( | const cv::GFrame & | in | ) |
Gets bgr plane from input frame.
| in | Input frame |
Starts a desynchronized branch in the graph.
This operation takes a single G-API data object and returns a graph-level "duplicate" of this object.
Operations which use this data object can be desynchronized from the rest of the graph.
This operation has no effect when a GComputation is compiled with regular cv::GComputation::compile(), since cv::GCompiled objects always produce their full output vectors.
This operation only makes sense when a GComputation is compiled in straming mode with cv::GComputation::compileStreaming(). If this operation is used and there are desynchronized outputs, the user should use a special version of cv::GStreamingCompiled::pull() which produces an array of cv::util::optional<> objects.
| cv::gapi::streaming::G_TYPED_KERNEL | ( | GSize | , |
| < GOpaque< Size >(GMat)> | , | ||
| "org.opencv.streaming.size" | |||
| ) |
| cv::gapi::streaming::G_TYPED_KERNEL | ( | GSizeR | , |
| < GOpaque< Size >(GOpaque< Rect >)> | , | ||
| "org.opencv.streaming.sizeR" | |||
| ) |
| cv::gapi::streaming::G_TYPED_KERNEL | ( | GSizeMF | , |
| < GOpaque< Size >(GFrame)> | , | ||
| "org.opencv.streaming.sizeMF" | |||
| ) |
| cv::GOpaque<T> cv::gapi::streaming::meta | ( | G | g, |
| const std::string & | tag | ||
| ) |
| cv::GOpaque<int64_t> cv::gapi::streaming::seq_id | ( | G | g | ) |
| cv::GOpaque<int64_t> cv::gapi::streaming::seqNo | ( | G | g | ) |
Gets dimensions from Mat.
| src | Input tensor |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Gets dimensions from rectangle.
| r | Input rectangle. |
Gets dimensions from MediaFrame.
| src | Input frame |
| cv::GOpaque<int64_t> cv::gapi::streaming::timestamp | ( | G | g | ) |
| GMat cv::gapi::streaming::UV | ( | const cv::GFrame & | frame | ) |
Extracts UV plane from media frame.
Output image is 8-bit 2-channel image of CV_8UC2.
| frame | input media frame. |
| GMat cv::gapi::streaming::Y | ( | const cv::GFrame & | frame | ) |
Extracts Y plane from media frame.
Output image is 8-bit 1-channel image of CV_8UC1.
| frame | input media frame. |
1.8.9.1