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

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?

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