Skip to content

MS-71 Moving image manipulation closer to CameraX API#906

Merged
luhmirin-s merged 2 commits into
mainfrom
feature/MS-71-camera-x-cropping
Sep 19, 2024
Merged

MS-71 Moving image manipulation closer to CameraX API#906
luhmirin-s merged 2 commits into
mainfrom
feature/MS-71-camera-x-cropping

Conversation

@luhmirin-s
Copy link
Copy Markdown
Contributor

  • Set a flag in the camera to pre-rotate images and always return them with the ROTATION_0 value
  • Move cropping from the view model to the image processing pipeline in the camera API.

@luhmirin-s luhmirin-s requested review from a team, BurningAXE, TristramN, alex-vt, alexandr-simprints, meladRaouf and ybourgery and removed request for a team September 17, 2024 13:33
@cla-bot cla-bot Bot added the ... label Sep 17, 2024
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@alexandr-simprints alexandr-simprints left a comment

Choose a reason for hiding this comment

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

Have you checked that the device rotation while in preview doesn't affect the calculations in the CropToTargetOverlayAnalyzer?

Otherwise, looks good

@luhmirin-s
Copy link
Copy Markdown
Contributor Author

@alexandr-simprints I did rotation during capture and it worked as expected. It seems that the camera pipeline is fully rebuilt on rotation therefore, the cropper is also rebuilt.

@luhmirin-s luhmirin-s merged commit 042dc6c into main Sep 19, 2024
@luhmirin-s luhmirin-s deleted the feature/MS-71-camera-x-cropping branch September 19, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants