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

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

  2. Model number of the product(s)?
    IMX298

  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?

Hi,
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: https://www.amazon.com/dp/B08S347RJ7?psc=1&ref=ppx_yo2ov_dt_b_product_details

Thank you