Camera physically rotated 90 degrees ≠ Image viewed or saved in that orientation

  1. Where did you get the camera module(s)?

  2. Model number of the product(s)?

  3. What hardware/platform were you working on?
    Raspberry Pi 4, Bullseye

  4. What help do you need?
    When I physically rotate the camera to obtain a portrait orientation, the resulting webcam preview and image are still in landscape position. This is the view and resulting image, how can I tell the camera to rotate the view and resulting image by 90 degrees?

What the exact camera module are you using? Can you send us the product link?

HI there, it is this camera: [16MP IMX298 - Arducam Wiki]

Purchased from here:

Thank you