필터 지우기
필터 지우기

jetson camera image is rotated on target device

조회 수: 15 (최근 30일)
Juan Carlos Oliveros
Juan Carlos Oliveros 2024년 7월 7일 19:11
답변: Chao Luo 2024년 7월 8일 14:41
I am attempting to run this example:
Everything works great but for some reason the camera window and image are rotated -90 degrees. Is there a way to send a message to rotate the image? when I run this command on the target:
ffplay /dev/video0
it looks fine.

답변 (1개)

Chao Luo
Chao Luo 2024년 7월 8일 14:41
MATLAB is column major. If you want the image to be row-major, you need to transpose the image. In the example, there is a transpose for displaying the image:
% Display image.
image(dispObj,edgeImg');

제품


릴리스

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by