Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Bump org.openftc:easyopencv from 1.6.2 to 1.7.0 #42

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 Jun 19, 2023

Bumps org.openftc:easyopencv from 1.6.2 to 1.7.0.

Release notes

Sourced from org.openftc:easyopencv's releases.

v1.7.0

  • Adds new NATIVE_VIEW viewport renderer option
    • Attempts to provide a balance between the stability of the SOFTWARE renderer and the speedup seen with the GPU_ACCELERATED renderer
    • Drawing is done on the UI thread using the GPU accelerated main canvas, instead of making another canvas as the GPU_ACCELERATED renderer does
  • Uses anti-aliasing when drawing the statistics overlay to make text more readable on low resolution screens
  • Adds ability for user pipelines to hook into the Canvas rendering of frames to the live view
    • This is an alternate means besides OpenCV calls to draw annotations from a pipeline
    • Allows drawing annotations at the full screen resolution even if performing image processing at a much lower resolution (e.g. 320x240). This allows e.g. drawing actually legible text on a low res image feed.
    • Because live view rendering happens on a different thread than the image processing, in order to make use of this feature, pipelines must call requestViewportDrawHook(object) during processFrame(), providing any type of context object they may wish which encapsulates the data needed to draw the annotations. Pipelines then also need to override onDrawFrame(...) which can receive that same object back, and perform the annotation drawing there.
    • The image sent to the DriverStation is now rendered using an offsceen canvas to ensure that annotations rendered using the canvas will be visible on the DS as well.
  • Adds support for MJPEG streaming for webcams
    • Requires FTC SDK v8.2
    • Uses libjpeg-turbo for JPEG decompression routine
    • Allows for streaming at full frame rate at higher resolutions (e.g. 1280x720) which were previously limited to 10FPS due to bandwidth constraints
    • Improves ability to use multiple cameras simultaneously by reducing bandwidth usage
    • CPU load will be increased due to additional overhead from JPEG decompression
    • Uncompressed streaming is still the default; in order to request MJPEG, use the overloaded startStreaming() method in OpenCvWebcam which takes a StreamFormat argument
  • Fixes a deadlock when trying to switch cameras when using OpenCvSwitchableWebcam
  • Fixes cases where mutex might not be released in internal camera v2 implementation
  • Updates OpenCV-Repackaged transitive dependency to 4.7.0-A
Commits
  • a060e26 v1.7.0 release
  • c0a5455 Draw user annotations before drawing statistics to keep stats on top
  • 4c6a3c7 Make sure locks are always released in Camera2 impl (fixes possible hang on o...
  • c54a06e Fix deadlock when setting active camera for a switchable webcam
  • 1ebd912 Rename mutex
  • 85df69a Just use api for opencv submodule build for now so things work
  • 39bdefb Fix OpenCV native lib inclusion with submodule build
  • 64fb0ea Build against OpenCV-Repackaged using submodule
  • 5e19556 Show DEV_BUILD version for debug builds
  • 30edaf1 Initial support for MJPEG streaming
  • Additional commits viewable in compare view

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

Bumps [org.openftc:easyopencv](https://github.com/OpenFTC/EasyOpenCV) from 1.6.2 to 1.7.0.
- [Release notes](https://github.com/OpenFTC/EasyOpenCV/releases)
- [Commits](OpenFTC/EasyOpenCV@v1.6.2...v1.7.0)

---
updated-dependencies:
- dependency-name: org.openftc:easyopencv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 19, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants