opencv / opencv

Open Source Computer Vision Library
https://opencv.org
Apache License 2.0
76.54k stars 55.64k forks source link

Handle BGRA streams in GStreamer backend #25602

Closed asmorkalov closed 1 day ago

asmorkalov commented 1 month ago

Safer replacement for https://github.com/opencv/opencv/pull/25557 Jetson Orin provides BGRx stream in some cases.

Pull Request Readiness Checklist

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

asmorkalov commented 1 week ago

@Liedermaus could you try the patch? I changed format priorities a bit to not break existing behavior.

asmorkalov commented 1 week ago

@opencv-alalek @mshabunin Could you take a look? I fixed regressions and re-order GStreamer caps options.

asmorkalov commented 6 days ago

Color image has higher priority, IMHO.