imagenet-camera gets reverse orientation image on TX2 with TR2.1

Hi @dangerduncan, it should be gstCamera.cpp line 416:

You can find the file in your local source tree under jetson-inference/utils/camera/gstCamera.cpp.

Change flip-method=2 to flip-method=0 on line 416, then save the file, and run these commands to re-compile:

$ cd jetson-inference/build
$ make
$ sudo make install

Then when you run the app again, it shouldn’t be flipped anymore. Sorry for the trouble, in a future update I plan to expose flip-method as a parameter that you can easily change (i.e. from the command line or program).

2 Likes

THANK YOU this worked for me!

Thanks Dusty_nv, been so busy with work haven’t tried this yet, but I will soon. Appreciate the help. Thank you.

dusty_nv,

want to say thanks so much. it worked!!! had no clue what a cpp file is or how to edit them :) so that was fun. ended up using vi … so i could actually naviagate/edit/save… as when trying simple edit gstCamera.cpp it put me in a strange editor that I was not good at navigating.

having a blast and learning. now i can finish Hello World AI thanks!