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

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

#9  

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

United Kingdom
#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?

United Kingdom
#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?