OpenCV  4.5.4
Open Source Computer Vision
Namespaces | Classes | Functions
cv::gapi::s11n Namespace Reference

This namespace contains G-API serialization and deserialization functions and data structures. More...

Namespaces

 detail
 

Classes

struct  IIStream
 This structure is an interface for deserialization routines. More...
 
struct  IOStream
 This structure is an interface for serialization routines. More...
 

Functions

IOStreamoperator<< (IOStream &os, const cv::Point &pt)
 
IOStreamoperator<< (IOStream &os, const cv::Point2f &pt)
 
IOStreamoperator<< (IOStream &os, const cv::Size &sz)
 
IOStreamoperator<< (IOStream &os, const cv::Rect &rc)
 
IOStreamoperator<< (IOStream &os, const cv::Scalar &s)
 
IOStreamoperator<< (IOStream &os, const cv::Mat &m)
 
IOStreamoperator<< (IOStream &os, const cv::UMat &um)
 
IOStreamoperator<< (IOStream &os, const cv::RMat &r)
 
IOStreamoperator<< (IOStream &os, const cv::gapi::wip::IStreamSource::Ptr &issptr)
 
IOStreamoperator<< (IOStream &os, const cv::detail::VectorRef &vr)
 
IOStreamoperator<< (IOStream &os, const cv::detail::OpaqueRef &opr)
 
template<typename K , typename V >
IOStreamoperator<< (IOStream &os, const std::map< K, V > &m)
 
template<typename K , typename V >
IOStreamoperator<< (IOStream &os, const std::unordered_map< K, V > &m)
 
template<typename T >
IOStreamoperator<< (IOStream &os, const std::vector< T > &ts)
 
template<typename... Ts>
IOStreamoperator<< (IOStream &os, const cv::util::variant< Ts... > &v)
 
IIStreamoperator>> (IIStream &is, cv::Point &pt)
 
IIStreamoperator>> (IIStream &is, cv::Point2f &pt)
 
IIStreamoperator>> (IIStream &is, cv::Size &sz)
 
IIStreamoperator>> (IIStream &is, cv::Rect &rc)
 
IIStreamoperator>> (IIStream &is, cv::Scalar &s)
 
IIStreamoperator>> (IIStream &is, cv::Mat &m)
 
IIStreamoperator>> (IIStream &is, cv::UMat &um)
 
IIStreamoperator>> (IIStream &is, cv::RMat &r)
 
IIStreamoperator>> (IIStream &is, cv::gapi::wip::IStreamSource::Ptr &issptr)
 
IIStreamoperator>> (IIStream &is, cv::detail::VectorRef &vr)
 
IIStreamoperator>> (IIStream &is, cv::detail::OpaqueRef &opr)
 
template<typename K , typename V >
IIStreamoperator>> (IIStream &is, std::map< K, V > &m)
 
template<typename K , typename V >
IIStreamoperator>> (IIStream &is, std::unordered_map< K, V > &m)
 
template<typename T >
IIStreamoperator>> (IIStream &is, std::vector< T > &ts)
 
template<typename... Ts>
IIStreamoperator>> (IIStream &is, cv::util::variant< Ts... > &v)
 

Detailed Description

This namespace contains G-API serialization and deserialization functions and data structures.

Function Documentation

◆ operator<<() [1/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Point pt 
)

◆ operator<<() [2/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Point2f pt 
)

◆ operator<<() [3/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Size sz 
)

◆ operator<<() [4/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Rect rc 
)

◆ operator<<() [5/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Scalar s 
)

◆ operator<<() [6/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::Mat m 
)

◆ operator<<() [7/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::UMat um 
)

◆ operator<<() [8/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::RMat r 
)

◆ operator<<() [9/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::gapi::wip::IStreamSource::Ptr issptr 
)

◆ operator<<() [10/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::detail::VectorRef vr 
)

◆ operator<<() [11/15]

IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::detail::OpaqueRef opr 
)

◆ operator<<() [12/15]

template<typename K , typename V >
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const std::map< K, V > &  m 
)

◆ operator<<() [13/15]

template<typename K , typename V >
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const std::unordered_map< K, V > &  m 
)

◆ operator<<() [14/15]

template<typename T >
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const std::vector< T > &  ts 
)

◆ operator<<() [15/15]

template<typename... Ts>
IOStream& cv::gapi::s11n::operator<< ( IOStream os,
const cv::util::variant< Ts... > &  v 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

◆ operator>>() [1/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Point pt 
)

◆ operator>>() [2/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Point2f pt 
)

◆ operator>>() [3/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Size sz 
)

◆ operator>>() [4/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Rect rc 
)

◆ operator>>() [5/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Scalar s 
)

◆ operator>>() [6/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::Mat m 
)

◆ operator>>() [7/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::UMat um 
)

◆ operator>>() [8/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::RMat r 
)

◆ operator>>() [9/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::gapi::wip::IStreamSource::Ptr issptr 
)

◆ operator>>() [10/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::detail::VectorRef vr 
)

◆ operator>>() [11/15]

IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::detail::OpaqueRef opr 
)

◆ operator>>() [12/15]

template<typename K , typename V >
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
std::map< K, V > &  m 
)

◆ operator>>() [13/15]

template<typename K , typename V >
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
std::unordered_map< K, V > &  m 
)

◆ operator>>() [14/15]

template<typename T >
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
std::vector< T > &  ts 
)

◆ operator>>() [15/15]

template<typename... Ts>
IIStream& cv::gapi::s11n::operator>> ( IIStream is,
cv::util::variant< Ts... > &  v 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.