Clarity
2014-01-23 14:09:30
Couldn't connect to IRC or Skype so posting here:
I'm trying to detect objects that are moving versus objects that are not (like a shaking box vs. not shaking box, etc.)
Both versions are identical in colors pretty much.
Currently my object find is working perfectly, and creates an ATPA of all the found objects, shaking or not shaking.
I assume pixelshift would be the ideal way to distinguish between the two kinds, and so I see these functions in the include:
They both return TIntegerArrays and I'm wondering how exactly this integer array can be used to replace the ATPA of everything into an ATPA of just the shaking objects. I'm not sure what to do with it.
Thanks for taking the time to help a newb out, a cool new script is on the way hopefully!
I'm trying to detect objects that are moving versus objects that are not (like a shaking box vs. not shaking box, etc.)
Both versions are identical in colors pretty much.
Currently my object find is working perfectly, and creates an ATPA of all the found objects, shaking or not shaking.
I assume pixelshift would be the ideal way to distinguish between the two kinds, and so I see these functions in the include:
function getPixelShiftAverage(atpa: T2DPointArray; waitPerLoop, maxTime: integer): TIntegerArray; overload;
function getPixelShift(atpa: T2DPointArray; time: integer): TIntegerArray; overload;
They both return TIntegerArrays and I'm wondering how exactly this integer array can be used to replace the ATPA of everything into an ATPA of just the shaking objects. I'm not sure what to do with it.
Thanks for taking the time to help a newb out, a cool new script is on the way hopefully!