Skip to content

G-API: Wrap GStreamerSource#20832

Merged
alalek merged 9 commits intoopencv:4.xfrom
TolyaTalamanov:at/python-gstreamer-source
Jan 26, 2022
Merged

G-API: Wrap GStreamerSource#20832
alalek merged 9 commits intoopencv:4.xfrom
TolyaTalamanov:at/python-gstreamer-source

Conversation

@TolyaTalamanov
Copy link
Copy Markdown
Contributor

@TolyaTalamanov TolyaTalamanov commented Oct 7, 2021

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or other license that is incompatible with OpenCV
  • The PR is proposed to proper branch
  • There is reference to original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

Build configuration

build_image:Linux AVX2=ubuntu:20.04

force_builders=Custom,Custom Win,Custom Mac,Linux AVX2
build_gapi_standalone:Linux x64=ade-0.1.1f
build_gapi_standalone:Win64=ade-0.1.1f
build_gapi_standalone:Mac=ade-0.1.1f
build_gapi_standalone:Linux x64 Debug=ade-0.1.1f

Xbuild_image:Custom=centos:7
Xbuildworker:Custom=linux-1
build_gapi_standalone:Custom=ade-0.1.1f

build_image:Custom=ubuntu-openvino-2021.4.1:20.04
build_image:Custom Win=openvino-2021.2.0
build_image:Custom Mac=openvino-2021.2.0

test_modules:Custom=gapi,python2,python3,java
test_modules:Custom Win=gapi,python2,python3,java
test_modules:Custom Mac=gapi,python2,python3,java

buildworker:Custom=linux-1
# disabled due high memory usage: test_opencl:Custom=ON
test_opencl:Custom=OFF
test_bigdata:Custom=1
test_filter:Custom=*

@OrestChura OrestChura force-pushed the at/python-gstreamer-source branch from b370e17 to 0308bb4 Compare December 17, 2021 04:43
@OrestChura OrestChura force-pushed the at/python-gstreamer-source branch from 7af4fe1 to ceab824 Compare December 24, 2021 08:39
@dmatveev dmatveev added this to the 4.6.0 milestone Dec 24, 2021
@dmatveev dmatveev self-assigned this Dec 24, 2021
@OrestChura OrestChura force-pushed the at/python-gstreamer-source branch from ceab824 to d6f89a3 Compare December 27, 2021 03:33
@OrestChura OrestChura force-pushed the at/python-gstreamer-source branch from d6f89a3 to 0e6a27e Compare January 10, 2022 09:20
@OrestChura OrestChura force-pushed the at/python-gstreamer-source branch from 0e6a27e to 5b6536d Compare January 11, 2022 01:54
Copy link
Copy Markdown
Contributor Author

@TolyaTalamanov TolyaTalamanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@alalek alalek merged commit 2b79a6f into opencv:4.x Jan 26, 2022
@alalek alalek mentioned this pull request Feb 22, 2022
a-sajjad72 pushed a commit to a-sajjad72/opencv that referenced this pull request Mar 30, 2023
…er-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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants