Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@alexlyulkov
Copy link
Contributor

@alexlyulkov alexlyulkov commented Jan 8, 2024

Added automatic image rotation for JavaCameraView to support any screen orientation.
Added any screen orientation support for tutorial-1-camerapreview and face-detection android samples.

Fixes: #9269, #4963, #8866, #5058, #4704,

  • 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 another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and 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

Copy link
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's extend Face Detection example too. It'll show how to use the new functionality on user side.

@alexlyulkov
Copy link
Contributor Author

@asmorkalov the PR already contains face-detection sample

Copy link
Contributor

@asmorkalov asmorkalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks a lot!
Tested manually with Pixel 8.

@asmorkalov asmorkalov merged commit e2b2c3a into opencv:4.x Jan 11, 2024
This was referenced Jan 19, 2024
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.

opencv 3.2 Android: CameraBridgeViewBase.java camera preview does not respect orientation

2 participants