# OpenMV Cam2 IR filter

**URL:** <https://forums.openmv.io/t/openmv-cam2-ir-filter/1217>\
**Category:** OpenMV Boards\
**Created:** [April 18, 2019, 1:20pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217 "2019-04-18T13:20:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![indefix123](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@indefix123](https://forums.openmv.io/u/indefix123)\
**Post date:** [April 18, 2019, 1:20pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/1 "2019-04-18T13:20:40Z")

</div>

Hi does the OpenMV Cam2 has an IR filter on the lens? Is it possible to remove it?

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [April 18, 2019, 4:17pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/2 "2019-04-18T16:17:07Z")

</div>

> [@](#):
>
> Hi does the OpenMV Cam2 has an IR filter on the lens? Is it possible to remove it?

It depends on the lens you have. The standard lens that ships with the cam has an IR filter, and yes you can remove it if you want or you could buy and IR lens here: [IR Lens | OpenMV](https://openmv.io/collections/lenses/products/ir-lens)

---

<div class="post-metadata">

**Author:** ![indefix123](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@indefix123](https://forums.openmv.io/u/indefix123)\
**Post date:** [April 19, 2019, 1:40pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/3 "2019-04-19T13:40:36Z")

</div>

Hi I think my camera doesn’t have an IR filter because with a test I did with the IR ToF sensor on my mobile phone the light flare covered the screen as you can see in the attached screenshot. So I think this is as good as I can get for IR LED tracking am I correct?

 ![IR.png](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/1X/af4f4a45770b295e8834207c731b2798aee7f39f.png)

---

<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:** [April 19, 2019, 3:13pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/4 "2019-04-19T15:13:35Z")

</div>

Hi, you can get better image quality by controlling the exposure. It looks like auto gain is mainly driving things there. Manually set the exposure of your camera to some amount of time. This will raise the contrast. Also, turn off auto gain.

---

<div class="post-metadata">

**Author:** ![indefix123](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@indefix123](https://forums.openmv.io/u/indefix123)\
**Post date:** [April 19, 2019, 4:33pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/5 "2019-04-19T16:33:53Z")

</div>

Hi thanks for the reply you are correct I was running the autogain example. My question was mainly if the lense has an ir filter and with this image I think it’s clear it doesn’t since the LED is not visible with my eyes but very bright with the camera am I correct?

---

<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:** [April 19, 2019, 5:26pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/6 "2019-04-19T17:26:52Z")

</div>

Yep, it doesn’t have a filter.

---

<div class="post-metadata">

**Author:** ![indefix123](https://avatars.discourse-cdn.com/v4/letter/i/90db22/32.png) [@indefix123](https://forums.openmv.io/u/indefix123)\
**Post date:** [April 19, 2019, 7:58pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/7 "2019-04-19T19:58:22Z")

</div>

Perfect, thank you very much!

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [April 19, 2019, 10:20pm UTC](https://forums.openmv.io/t/openmv-cam2-ir-filter/1217/8 "2019-04-19T22:20:21Z")

</div>

If you look at the back of the lens, you can see the filter (it’s square piece of red glass). I have an IR filter on my lens and I can still see my remote IR LED, the filter blocks some of IR not all of it (without a filter it will be much brighter). But you can track it then it’s fine I guess.
