![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is the code we showed at Uncraftivism
MotionFinder.h
- Committer:
- jarkman
- Date:
- 2009-11-20
- Revision:
- 0:57f4fdadc97f
File content as of revision 0:57f4fdadc97f:
#pragma once // Class to detect motion in a series of frames class Frame; class MotionFinder { public: MotionFinder( ServoMinder *xServoMinder, ServoMinder *yServoMinder ); void processFrame( Frame *frame ); void newBackground( Frame *frame ); ~MotionFinder(); Frame *m_backgroundFrame; Frame *m_resultFrame; uint16_t m_delta; float m_attentionX; float m_attentionY; ServoMinder *m_xServoMinder; ServoMinder *m_yServoMinder; };