A comprehensive monitoring software application with video recording, time overlay, exposure adjustment, and announcement management features.
-
Video Recording with Time Overlay
- Record videos from your camera/webcam
- Real-time timestamp display at adjustable corner positions
- Choose from 4 positions: top-left, top-right, bottom-left, bottom-right
- Videos saved in AVI format with timestamps in filename
-
Exposure Adjustment
- Real-time exposure control with a slider
- Range from -10 to +10
- Instant feedback on video feed
-
Announcement Table
- Display important announcements at the top of the interface
- Add new announcements with timestamps
- Clear all announcements when needed
- Announcements persist between sessions
- Highlighted display area for easy visibility
-
Install Python 3.8 or higher
-
Install required dependencies:
pip install -r requirements.txtRun the monitoring application:
python monitoring_app.py- Start Camera: Activates the webcam and displays live feed
- Stop Camera: Stops the camera feed and releases resources
- Start Recording: Begins recording video to file (camera must be running)
- Stop Recording: Stops recording and saves the video
- Exposure Slider: Adjust camera exposure from -10 to +10
- Time Position: Select where the timestamp appears on the video
- Options: top-left, top-right, bottom-left, bottom-right
- Add Announcement: Opens a dialog to add a new announcement message
- Clear All: Removes all announcements after confirmation
All recorded videos are saved in the recordings/ directory with the format:
video_YYYYMMDD_HHMMSS.avi
Example: video_20241119_143022.avi
Settings are automatically saved to config.json and include:
- Exposure level
- Time position preference
- All announcements
These settings persist between application sessions.
- Real-time video preview with timestamp overlay
- Recording indicator (red "REC" text) when recording is active
- Automatic video scaling to fit display area
- Timestamped announcements for important messages
- Yellow highlighted display area for visibility
- Scrollable list for multiple announcements
- Persistent storage across sessions
- Clean, organized layout with labeled sections
- Intuitive controls and status indicators
- Color-coded status messages:
- Blue: Idle
- Green: Camera Running
- Red: Recording
- Python 3.8+
- OpenCV (opencv-python)
- NumPy
- Pillow
- Tkinter (usually included with Python)
- Webcam or camera device
- Ensure your camera is not being used by another application
- Check camera permissions in your operating system
- Try changing the camera index in the code (line:
cv2.VideoCapture(0))
- Ensure you have write permissions in the project directory
- Check available disk space
- The
recordings/folder will be created automatically if it doesn't exist
- Some cameras may not support exposure adjustment via OpenCV
- The feature depends on your camera's capabilities and drivers
See LICENSE file for details.