iMX53 Tablet Camera image is mirrored

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX53 Tablet Camera image is mirrored

840 Views
CJLim
Contributor I

Anyone notice that the pictures/video captured by the camera is mirrored image. How and where can I set it to become normal?

Tags (1)
0 Kudos
4 Replies

707 Views
Yanfei_Sun
Contributor IV

this must be related to the IPU settings to catch the image. check the related IDMAC channel settings, bit field hf. and then check if the horizental flip is enabled in your IC Tasks.(register IC_IDMAC_1).

0 Kudos

707 Views
daiane_angolini
NXP Employee
NXP Employee

You should take a look on CameraHal as well

 

android/hardware/mx5x/libcamera/CameraHal.cpp

 

What release are you using? 

0 Kudos

707 Views
CJLim
Contributor I

I'm using android.

it's very easy to see that it's a mirror image by taking a picture of some words. Usually the front facing camera would show a mirror image but after you take the picture, the save image is flipped back to the normal view.

0 Kudos

707 Views
daiane_angolini
NXP Employee
NXP Employee

I haven´t. I always get confused about what is a mirrored, 90', 180' rotated image... 

 

And my tablet don´t have any orientation, só I had never thought about it.

 

Are you using linux or Android?

 

I know capture driver can handle some camera configuration (and obviously camera driver as well).

 

Open the file

kernel/drivers/media/video/mxc/capture/mxc_v4l2_capture.c

 

and search for rotate or for function mxc_v4l2_s_param

0 Kudos