Object recognition that words can turn into a video

Hi I am a university student and I am trying to create an app prototype. I have a Mac book pro I am doing this on. For one of the pages I am using Object Recognition, which I have set up and working but I want to try and achieve that when a word comes up from the photo in object recognition eg. Cup. I want to correspond the word with a video. Is there any way I can do this??

Thank you.

Hi @monica.t.houstonxeb7, welcome to Thunkable!

Yes, you can definitely do this. It’s helpful if you post a screenshot of your blocks but from memory, you would do something like this:

If [green description block] contains "cup"
   do
        play video [cup.mp4]

You could also use the tags block in place of the description block.

1 Like

Hi @tatian,

Thank you so much for replying. That does make a lot of sense, I will give this a go and see if it works. If not Ill send a picture of the blocks.

Thank you again.

  • Monica

Hi,
Sorry to ask again but I can’t seem to get it working. I deleted all my tries and error, but this time I took a screen shot of how the app is looking so far.


Is there anyway you’re able to help again, please?

use -

if (desciption contains "your text") {
then play your video
} 

Instead of setting the label’s text to the description, you need to check the value of the description block using an If block.

You can learn more about If blocks (conditionals) here:

1 Like

Thank you. I have it working now

2 Likes