# image distortion

**URL:** https://forums.openmv.io/t/image-distortion/1866
**Category:** OpenMV Boards
**Created:** [August 7, 2020, 7:31am UTC](https://forums.openmv.io/t/image-distortion/1866 "2020-08-07T07:31:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![oramafanis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/oramafanis/32/1783_2.png) [@oramafanis](https://forums.openmv.io/u/oramafanis)
#### Post date: [August 7, 2020, 7:31am UTC](https://forums.openmv.io/t/image-distortion/1866/1 "2020-08-07T07:31:57Z")

</div>

Hi there,

i have a strange problem with the images from an openmv h7 with global shutter module attached.  
no matter what lens i will use always the distortion in the image is bigger from the left side that the right.

Is this a hardware fault?

I have tested all the lens ir telephoto and the lens that come with the global shutter module.  
the camera is perfectly leveled to the surface of the inspection.

please hve a look on the image below i have took with the standart global shutter module:

 ![](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/d/de26b1478c11e0e4412a92a3595d80d98e1ce1fc.png)

it looks like the sensor isnt allign well on the board?

---

<div class="post-metadata">

### Author: ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)
#### Post date: [August 7, 2020, 5:32pm UTC](https://forums.openmv.io/t/image-distortion/1866/2 "2020-08-07T17:32:54Z")

</div>

We don’t make any promises on how perfect the alignment of the sensor is.

But, what’s the error exactly? Can you point out the issue in the image below?

---

<div class="post-metadata">

### Author: ![mirkwood](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mirkwood](https://forums.openmv.io/u/mirkwood)
#### Post date: [August 8, 2020, 5:40am UTC](https://forums.openmv.io/t/image-distortion/1866/3 "2020-08-08T05:40:47Z")

</div>

If your lens is not directly over the top of the sensor it will do this.

I don’t think you can physically change the alignment but you can use image.lens\_corr with the x\_off and y\_off set to correct it (this is assuming it’s just a x/y lens displacement).

Although the difference is so huge in your image I wonder if the lens and sensor are at an angle to each other? Is it cross threaded?

---

<div class="post-metadata">

### Author: ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)
#### Post date: [August 8, 2020, 3:19pm UTC](https://forums.openmv.io/t/image-distortion/1866/4 "2020-08-08T15:19:07Z")

</div>

Hi, just move the lens housing. It’s probably not aligned via that. So, unscrew the two black acres on the back and adjust those to get it straightened.

---

<div class="post-metadata">

### Author: ![oramafanis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/oramafanis/32/1783_2.png) [@oramafanis](https://forums.openmv.io/u/oramafanis)
#### Post date: [August 8, 2020, 6:59pm UTC](https://forums.openmv.io/t/image-distortion/1866/5 "2020-08-08T18:59:52Z")

</div>

Ok then I will give it a try
