User455103
Unknown Country
Asked
Resolved by DJ Sures!
Hi, I may just be missing something, but how do you use variables in different skills together.
As an example, If I wanted to make it so every time Tiny Yolo 2 detects a "Person" it says "Hello" TTS using EZ script?
Thanks for your time.
Related Hardware EZ-B v4
Here's the manual page for tiny yolo: https://synthiam.com/Support/Skills/Camera/Tiny-Yolo2?id=20002
You can access it by pressing the ? (Question mark) on the robot skill. Every robot skill has that question mark which will bring you to the respective manual page.
The variables that tiny yolo creates are explained in the manual page. You can determine how many objects were found by the $YoloFoundCnt variable. Then you can reference the Name of the objects by each array index.
To be safe, you can do something like this in some script that loops... (I only use JavaScript hehe) So this is a JavaScript example. Just use the JavaScript tab when editing your script/code
Oh, and if you want to speak every detected object - this is a kind of neat little code snippet that I just came up with
Thanks . I appreciate the quick response.
No problem. It might actually be more useful if the tiny yolo robot skill executed a script when objects detected. We should make that addition