Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update opencv requirement from 0.90.0 to 0.91.2 #34

Merged
merged 1 commit into from
May 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 1, 2024

Updates the requirements on opencv to permit the latest version.

Changelog

Sourced from opencv's changelog.

  • 0.91.2

    • Generate functions for converting DirectX objects to OpenCL.
    • Allow creation of Vector<BoxedRef<T>> and using it as ToInputArray (fixes twistedfall/opencv-rust#555).
  • 0.91.1

    • Add TryFrom<i32> impls for enums to allow easy fallible conversions from i32.
  • 0.91.0

    • Multiple improvements for InputArray/OutputArray/InputOutputArray handling:
      • It's now possible to use the following types as InputArray: &[u8]/[u8; N], Vector<bool> Vector<GpuMat> and the following as InputArray, OutputArray or InputOutputArray: Vector<Mat> and Vector<UMat>.
      • InputArray/OutputArray/InputOutputArray constructors now return BoxedRef/BoxedRefMut to express the borrowing semantics.
      • Some constructors have received _mut suffix where appropriate.
    • Unsafe Mat constructors (*_with_data) have received _unsafe suffix and safe versions have been introduced that return BoxedRef/BoxedRefMut. Consequently, Mat::from_slice_rows_cols was replaced by Mat::new_rows_cols_with_data, note the different order and types of the arguments.
    • MatSize::new is now unsafe and accepts a pointer.
  • 0.90.0

    • Automatically generate default constructors for classes where posssible.
    • Backwards-incompatible changes:
      • LayerParams::default() can no longer fail, so it returns Self without Result.
      • GpuMat::default() is now GpuMat::new_def().
      • Automatically named functions (*_1) in features2d module were given proper names.
      • Generate bindings to float16_t and hfloat types to fix the build with the current OpenCV master.
  • 0.89.0

    • All functions accepting classes now take impl ClassTrait instead of Class directly. This allows passing other objects that implement the same trait. This change should be backwards compatible.
    • Some functions, notably Mat::roi(), now return a BoxedRef<Mat> wrapper instead of seemingly independent Mat. This fixes old soundness hole because the returned Mat was actually a view into the source Mat and you could easily end up with 2 mutable references to the same memory. An additional *_mut() is generated for each of such function to return a mutable BoxedRefMut<Mat>. To get 2 mutable references to the same Mat for the non-intersecting regions use the new Mat::roi_2_mut() function.
    • Slice detection improved, slice arguments in more functions are now generated automatically.
    • Some slices in function arguments are now references to arrays of particular size. To migrate call .try_into() to convert the slice to the array.
    • The error message for the unspecified error (should never actually be visible) is changed to "Unspecified error, neither from OpenCV nor from std".
    • Function signature changes:
      • A group of functions for Mat, UMat, GpuMat and GpuMatND have been given proper names (rowscols, roi, ranges, col_bounds). Consequently, e.g. roi function can now be called on the Mat instance (mat.roi()) instead of requiring a fully qualified call (Mat::roi(&mat)).
      • MatConstIterator::pos_to() is now unsafe and takes a pointer instead of a reference.
  • 0.88.9

  • 0.88.8

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [opencv](https://github.com/twistedfall/opencv-rust) to permit the latest version.
- [Changelog](https://github.com/twistedfall/opencv-rust/blob/master/CHANGES.md)
- [Commits](twistedfall/opencv-rust@v0.90.0...v0.91.2)

---
updated-dependencies:
- dependency-name: opencv
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 1, 2024
@jimexist jimexist merged commit 12dec48 into main May 9, 2024
3 checks passed
@jimexist jimexist deleted the dependabot/cargo/opencv-0.91.2 branch May 9, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant