# Possible to detect a specific color in an image and draw a marker around it?

**URL:** <https://community.thunkable.com/t/possible-to-detect-a-specific-color-in-an-image-and-draw-a-marker-around-it/385103>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [December 29, 2019, 10:22am UTC](https://community.thunkable.com/t/possible-to-detect-a-specific-color-in-an-image-and-draw-a-marker-around-it/385103 "2019-12-29T10:22:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MuckYu](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@MuckYu](https://community.thunkable.com/u/MuckYu)\
**Post date:** [December 29, 2019, 10:22am UTC](https://community.thunkable.com/t/possible-to-detect-a-specific-color-in-an-image-and-draw-a-marker-around-it/385103/1 "2019-12-29T10:22:35Z")

</div>

I would like to detect a yellow object on a grey background in the camera view and draw a rectangle/marker at its position.

Is this possible?

I am guessing I would slice the image in chunks and search for yellow colors. Once it finds one it will save the x/y coordinates of that chunk and place a marker at the same location.

Is this the right way to do it? Or is there a better solution?

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [December 30, 2019, 3:21pm UTC](https://community.thunkable.com/t/possible-to-detect-a-specific-color-in-an-image-and-draw-a-marker-around-it/385103/2 "2019-12-30T15:21:58Z")

</div>

There is no function to get pixel color in Thunkable X yet.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:46am UTC](https://community.thunkable.com/t/possible-to-detect-a-specific-color-in-an-image-and-draw-a-marker-around-it/385103/3 "2024-11-08T11:46:11Z")

</div>


