Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Bump opencv from 0.88.8 to 0.91.1 in /backend #434

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 22, 2024

Bumps opencv from 0.88.8 to 0.91.1.

Changelog

Sourced from opencv's changelog.

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

Commits

Dependabot compatibility score

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 22, 2024
Bumps [opencv](https://github.com/twistedfall/opencv-rust) from 0.88.8 to 0.91.1.
- [Changelog](https://github.com/twistedfall/opencv-rust/blob/master/CHANGES.md)
- [Commits](twistedfall/opencv-rust@v0.88.8...v0.91.1)

---
updated-dependencies:
- dependency-name: opencv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/backend/opencv-0.91.1 branch from 3c4f2f7 to b09fc2e Compare April 30, 2024 08:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants