# The rame buffer of ide become white like a paper

**URL:** <https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070>\
**Category:** OpenMV Boards\
**Created:** [January 5, 2024, 1:00pm UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070 "2024-01-05T13:00:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjh2100](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/sjh2100/32/2979_2.png) [@sjh2100](https://forums.openmv.io/u/sjh2100)\
**Post date:** [January 5, 2024, 1:00pm UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070/1 "2024-01-05T13:00:56Z")

</div>

the rame buffer of ide become white like a paper when i turn on a circle light source of led 。  
the light source of led looks like this:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/openmv1/original/2X/8/806bfac79307dc45c36ef6758b457465eb50770e.jpeg)  
so , i have to turn off the running code ,and restart a new running .  
what 's wrong with the openmv?

---

<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:** [January 5, 2024, 2:22pm UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070/2 "2024-01-05T14:22:07Z")

</div>

Hi, you need to turn auto exposure and auto gain on. If you turned them off if your code the camera will not adjust to a changing scene.

---

<div class="post-metadata">

**Author:** ![sjh2100](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/sjh2100/32/2979_2.png) [@sjh2100](https://forums.openmv.io/u/sjh2100)\
**Post date:** [January 6, 2024, 2:15am UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070/3 "2024-01-06T02:15:46Z")

</div>

thank you . if i want to find the red circle mark, and the docs of openmv says  
set\_auto\_whitebal :“You need to turn off gain control too if you want to track colors.”  
so, turn off or turn on ,which is the right? 😰

---

<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:** [January 6, 2024, 3:49am UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070/4 "2024-01-06T03:49:54Z")

</div>

That prevents the colors from changing given the scene. If the scene changes you want to turn it back on.

Items moving around in the scene can change the color gains. That’s why you want to turn it off. If it’s a scene change like the lighting then you want it on.

---

<div class="post-metadata">

**Author:** ![sjh2100](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/sjh2100/32/2979_2.png) [@sjh2100](https://forums.openmv.io/u/sjh2100)\
**Post date:** [January 6, 2024, 5:20am UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070/5 "2024-01-06T05:20:41Z")

</div>

actureally ,the scene changes from one site to another site about 60cm distance ，and very site i will turn light on for 10 seconds。  
i decide to turn on the set\_auto\_whitebal and set\_auto\_gain。is it right？

---

<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:** [January 6, 2024, 12:18pm UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070/6 "2024-01-06T12:18:28Z")

</div>

Yes, let them run each time the scene changes.

---

<div class="post-metadata">

**Author:** ![sjh2100](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/sjh2100/32/2979_2.png) [@sjh2100](https://forums.openmv.io/u/sjh2100)\
**Post date:** [January 8, 2024, 12:42am UTC](https://forums.openmv.io/t/the-rame-buffer-of-ide-become-white-like-a-paper/9070/7 "2024-01-08T00:42:25Z")

</div>

i run my code with set\_auto\_whitebal and set\_auto\_gain of true, the while paper doesn’t appear.  
thank you!
