# Headlight Detection App w/ Arduino

**URL:** <https://community.thunkable.com/t/headlight-detection-app-w-arduino/1715862>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [February 4, 2022, 3:00pm UTC](https://community.thunkable.com/t/headlight-detection-app-w-arduino/1715862 "2022-02-04T15:00:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![22letl187elzul](https://avatars.discourse-cdn.com/v4/letter/2/df705f/32.png) [@22letl187elzul](https://community.thunkable.com/u/22letl187elzul)\
**Post date:** [February 4, 2022, 3:00pm UTC](https://community.thunkable.com/t/headlight-detection-app-w-arduino/1715862/1 "2022-02-04T15:00:52Z")

</div>

Hello, I am trying to create an app that detects headlights using the image recognizer. I want the program to detect the description of the image recognizer, and if the description of the image contains the word “headlight”, it tells my Arduino to move a servo. How would I make the program detect if there is the word headlight in the description? This is the code I have so far.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/435d7e0526ed89dc46e25b501f58edb8ea4d1c98.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [February 4, 2022, 3:35pm UTC](https://community.thunkable.com/t/headlight-detection-app-w-arduino/1715862/2 "2022-02-04T15:35:15Z")

</div>

You can use the Does Contain text block to check if the word “headlights” is in the green tags or description blocks.

---

<div class="post-metadata">

**Author:** ![22letl187elzul](https://avatars.discourse-cdn.com/v4/letter/2/df705f/32.png) [@22letl187elzul](https://community.thunkable.com/u/22letl187elzul)\
**Post date:** [February 4, 2022, 8:35pm UTC](https://community.thunkable.com/t/headlight-detection-app-w-arduino/1715862/3 "2022-02-04T20:35:44Z")

</div>

thank you very much

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 5, 2022, 8:35pm UTC](https://community.thunkable.com/t/headlight-detection-app-w-arduino/1715862/4 "2022-05-05T20:35:59Z")

</div>

Closed on May 5, 2022, 8:35pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
