Merge pull request #20832 from TolyaTalamanov:at/python-gstreamer-source
G-API: Wrap GStreamerSource * Wrap GStreamerSource into python * Fixed test skipping when can't make Gst-src * Wrapped GStreamerPipeline class, added dummy test for it * Fix no_gst testing * Changed wrap for GStreamerPipeline::getStreamingSource() : now python-specific in-class method GStreamerPipeline::get_streaming_source() * Added accuracy tests vs OCV:VideoCapture(Gstreamer) * Add skipping when can't use VideoCapture(GSTREAMER); Add better handling of GStreamer backend unavailable; Changed video to avoid terminations * Applying comments * back to a separate get_streaming_source function, with comment Co-authored-by: OrestChura <orest.chura@intel.com>
This commit is contained in:
committed by
GitHub
parent
9238316cf1
commit
2b79a6ff8f
@@ -19,6 +19,7 @@ using detail_ExtractArgsCallback = cv::detail::ExtractArgsCallback;
|
||||
using detail_ExtractMetaCallback = cv::detail::ExtractMetaCallback;
|
||||
using vector_GNetParam = std::vector<cv::gapi::GNetParam>;
|
||||
using gapi_streaming_queue_capacity = cv::gapi::streaming::queue_capacity;
|
||||
using GStreamerSource_OutputType = cv::gapi::wip::GStreamerSource::OutputType;
|
||||
|
||||
// NB: Python wrapper generate T_U for T<U>
|
||||
// This behavior is only observed for inputs
|
||||
@@ -230,7 +231,7 @@ PyObject* pyopencv_from(const cv::GArg& value)
|
||||
{
|
||||
HANDLE_CASE(BOOL, bool);
|
||||
HANDLE_CASE(INT, int);
|
||||
HANDLE_CASE(INT64, int64_t);
|
||||
HANDLE_CASE(INT64, int64_t);
|
||||
HANDLE_CASE(DOUBLE, double);
|
||||
HANDLE_CASE(FLOAT, float);
|
||||
HANDLE_CASE(STRING, std::string);
|
||||
|
||||
Reference in New Issue
Block a user