Filter löschen
Filter löschen

jetson camera image is rotated on target device

15 Ansichten (letzte 30 Tage)
Juan Carlos Oliveros
Juan Carlos Oliveros am 7 Jul. 2024 um 19:11
Beantwortet: Chao Luo am 8 Jul. 2024 um 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.

Antworten (1)

Chao Luo
Chao Luo am 8 Jul. 2024 um 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');

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by