Skip to content

Updated To Modern Version of Aravis USB 3 Vision Protocol Library#20363

Merged
alalek merged 2 commits intoopencv:4.xfrom
SentToDevNull:master
Jan 13, 2022
Merged

Updated To Modern Version of Aravis USB 3 Vision Protocol Library#20363
alalek merged 2 commits intoopencv:4.xfrom
SentToDevNull:master

Conversation

@SentToDevNull
Copy link
Copy Markdown
Contributor

Confirmed working with Aravis-0.8 and my Pixelink USB 3 Vision protocol camera.

Aravis updated its API to make most function calls take in GObject data to write errors to (in addition to returning error codes); OpenCV doesn't use GObject, so we just don't pass a pointer to a GObject. Additionally, I removed a deprecated function call.

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 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

@SentToDevNull
Copy link
Copy Markdown
Contributor Author

The reason the build failed on the Windows machine was because the server timed out when the build system was trying to curl some content...

@asmorkalov
Copy link
Copy Markdown
Contributor

/cc @ArkadiuszRaj

@asmorkalov
Copy link
Copy Markdown
Contributor

Related to #20126

@asmorkalov
Copy link
Copy Markdown
Contributor

cc @ArkadiuszRaj

@mshabunin mshabunin mentioned this pull request Sep 29, 2021
6 tasks
@JoeHowse
Copy link
Copy Markdown
Contributor

JoeHowse commented Jan 2, 2022

This patch works for me on Manjaro Linux with the aravis package (version 0.8.19-1) from the AUR repository. I tested it successfully with a USB3 camera: Point Grey Research Grasshopper3 FS3-U3-23S6M.

I suggest merging the patch as-is.

@alalek alalek merged commit 9592537 into opencv:4.x Jan 13, 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
Updated To Modern Version of Aravis USB 3 Vision Protocol Library

* updated aravis backend to support aravis-0.8

* bugfix for aravis-0.8 support
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.

5 participants