User455103
Unknown Country
Asked
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 (view all EZB hardware)
EZ-B V4
by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos
24
Camera
Audio
UART
3
I2C
ADC
8
Digital
24
Related Robot Skills (view all robot skills)
Speech Synthesis
by Synthiam
Speak user-defined text via PC audio or EZ-B v4 speaker; configurable voices, effects and speed; uses Windows TTS; programmatically callable.
Camera Device
by Synthiam
Use PC or robot cameras for vision tracking: color, QR, glyph, face, object, motion; record video/data, control servos and movement, run scripts
Tiny Yolo2
by Synthiam
Real-time TinyYolo object detection for ARC Camera Device: tracks 20 classes, populates camera variables, triggers tracking scripts, 30+ FPS in HD.
Requires ARC
v13

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