For my final project, I’d like to finish my ITweetP midterm.
What I need to do:
1) Replace keyPressed function with automatic motion detection using:
- Frame difference, using a reference frame to compare to current image
- Background subtraction, decide how many pixels have to be different (mostPixelsChanged variable)
- A combination of frame differencing & background subtraction
- Incorporate a delay between image captures
Considerations:
- Sunlight and screens both complicate the motion detection techniques. How do I eliminate or decrease the noise?
- How do I account for stationary objects within frame (e.g. if a person or a group stops to talk)? Set a threshold? Use a delay?
- How long should the delay be between image captures
2) Write time-based tweet functions
- The lonely camera will send tweets based on the time elapsed between image captures
- Create array of tweets, perhaps two – one for night and one for day. Can I specify time of day?
3) Re-establish Twitter connection
- Javamail currently not working, debug or figure out how to connect via Twitter API