ben winstone
/
ucam
As of Monday morning, so this is the code we showed at Uncraftivism.
MotionFinder.h@1:5d20e168f467, 2009-12-14 (annotated)
- Committer:
- voidnoise
- Date:
- Mon Dec 14 08:25:07 2009 +0000
- Revision:
- 1:5d20e168f467
- Parent:
- 0:da6a22da11a2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
voidnoise | 0:da6a22da11a2 | 1 | #pragma once |
voidnoise | 0:da6a22da11a2 | 2 | // Class to detect motion in a series of frames |
voidnoise | 0:da6a22da11a2 | 3 | |
voidnoise | 0:da6a22da11a2 | 4 | class Frame; |
voidnoise | 0:da6a22da11a2 | 5 | |
voidnoise | 0:da6a22da11a2 | 6 | |
voidnoise | 0:da6a22da11a2 | 7 | class MotionFinder |
voidnoise | 0:da6a22da11a2 | 8 | { |
voidnoise | 0:da6a22da11a2 | 9 | public: |
voidnoise | 0:da6a22da11a2 | 10 | MotionFinder( ServoMinder *xServoMinder, ServoMinder *yServoMinder ); |
voidnoise | 0:da6a22da11a2 | 11 | |
voidnoise | 0:da6a22da11a2 | 12 | void processFrame( Frame *frame ); |
voidnoise | 0:da6a22da11a2 | 13 | void newBackground( Frame *frame ); |
voidnoise | 0:da6a22da11a2 | 14 | |
voidnoise | 0:da6a22da11a2 | 15 | ~MotionFinder(); |
voidnoise | 0:da6a22da11a2 | 16 | |
voidnoise | 0:da6a22da11a2 | 17 | |
voidnoise | 0:da6a22da11a2 | 18 | Frame *m_backgroundFrame; |
voidnoise | 0:da6a22da11a2 | 19 | Frame *m_resultFrame; |
voidnoise | 0:da6a22da11a2 | 20 | uint16_t m_delta; |
voidnoise | 0:da6a22da11a2 | 21 | |
voidnoise | 0:da6a22da11a2 | 22 | float m_attentionX; |
voidnoise | 0:da6a22da11a2 | 23 | float m_attentionY; |
voidnoise | 0:da6a22da11a2 | 24 | |
voidnoise | 0:da6a22da11a2 | 25 | |
voidnoise | 0:da6a22da11a2 | 26 | ServoMinder *m_xServoMinder; |
voidnoise | 0:da6a22da11a2 | 27 | ServoMinder *m_yServoMinder; |
voidnoise | 0:da6a22da11a2 | 28 | |
voidnoise | 0:da6a22da11a2 | 29 | }; |