
fxmech
USA
Asked

I am new to ARC. I purchased the premium subscription but was disappointed that it keeps kicking me out of skills as I'm building because I reach daily limits. How do these limits work? Is there a way to get unlimited time on these skills? The latest issue was with Cognitive Face, but it also happened with Bing voice recognition.
I got around that by opening up an Azure account and setting Advanced Speech Recognition with my own API Key... Not sure how to handle Cognitive Face though...
Related Hardware EZ-B v4
Glad it helps you
It's difficult for me to type right now because I have lost a pretty big chunk of meat off my thumb the other day LOL. So it's not operating very well at the moment.
This type of programming for ARC is event programming. It's how applications on multi-threaded operating systems work, such as Windows, Linux, Android, or iOS. The events are executed in their own thread and can trigger other events, etc...
Regarding the camera TRACKING START question, the script start will only run once for detection. It will take 15 frames for the detection to be valid, then the script runs. The script will not run again unless tracking is lost. So it's not a loop for every frame - it's just one time for when the tracking has been "identified"
So for your case, the robot will need to "lose sight of your face before tracking again"
If you wanted the robot to detect you in real-time, then what I would do is modify the Camera Tracking Start script to loop every 5 seconds or something. Because that script will stop when tracking has stopped. You can also add a camera TRACKING STOP script that speaks something like "hey where did you go?"
If you wanted a constant detection of your emotion once the face is detected, put this in the camera TRACKING START script... I'll put an EZ-Script example but I prefer javascript or Blockly generally because it's much faster.
And in the camera TRACKING STOP put something like this...
Or if you want it to talk out the EZB go...
Actually I appreciate you overcoming your pain to help with this issue. I am learning also. I'll be installing a camera in my robot soon and this is very helpful. Thanks.
Thank you DJ Issue is now resolved