Commit 848f00e
committed
Refactor Camera and WebCam classes for improved functionality
- Replace json config loading with local_conf module
- Add conditional imports for cv2 and skvideo with import flags
- Add queue size limit and cancel_join_thread to process_queue
- Implement WebCam class with full recording capabilities
- Add camera property setters (exposure, white balance, gain, etc.)
- Improve error handling and process cleanup in stop_rec
- Update docstrings to follow consistent formatting
- Add timeout to camera_process.join() with fallback termination
- Fix PiCamera exposure parameter (renamed from shutter_speed)1 parent e93a311 commit 848f00e
2 files changed
+342
-105
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
0 commit comments