Vader Sentiment Analysis icon Vader Sentiment Analysis — VADER sentiment analyzer for ARC returns positive, neutral, negative percents and a compound score from text; enables emotion-driven behaviors. Try it →
Asked — Edited
Resolved Resolved by Dunning-Kruger!

How To Detect Face And Motion Using The If-Else Statement In The Ez-Script Edito

Earlier, I have asked about the coding of detecting the colours using the EZ-Script. bhouston gave a very good code and I made a coding of my own similar to what bhouston gave. The coding was working but camera gave flop results for eg. I show Blue, it detects as Green.

So, I tried to do the If Else statement for Face and Motion but I cant find their default variables. Can anybody here help me out?


ARC Pro

Upgrade to ARC Pro

ARC Pro will give you immediate updates and new features needed to unleash your robot's potential!

#9  

Steve G, your D19 refers to which part of servo?

Author Avatar
United Kingdom
YouTube
#10  

D19 is the EZ-B port I have my servo connected to, that does the camera tracking movement (Sweeps from left to right until motion is detected).

#11  

I mean is it the head or hands or legs? & which robot r u using in this?

Author Avatar
United Kingdom
YouTube
#12  

Sorry I misunderstood you. It's for the neck/head (repeatedly looking left to right) on a custom made robot, but that shouldn't matter. Same princable applies. I see in your other thread that you have finished your smart camera project. So I take it you got everything working on ARC the way you wanted to in the end?