Repository navigation
π¦ Dual Camera Viewer β Configurable Edition
β¨ New Features
-
π§ Configurable Camera Sources
- Both the left and right camera streams are now read from a JSON config file:
config/cameras.json - Easily update camera URLs without touching the source code
- Both the left and right camera streams are now read from a JSON config file:
-
π§Ύ Flat JSON Format Supported
- New camera config format is now simpler:
{ "left": "http://10.1.10.100:13000/video/left", "right": "http://10.1.10.100:13000/video/right" }
- New camera config format is now simpler:
-
π Material Dropdown from Config
- Material types used for labeling captured images are loaded from
config/materials.json:{ "materials": ["plastic", "metal", "paper"] }
- Material types used for labeling captured images are loaded from
πΌοΈ Preview & Capture
- Live preview from both left and right cameras
- "πΈ Capture Image" saves both frames with timestamps and material label
- Files saved to a daily folder under
results/
β How to Use
- Edit
config/cameras.jsonwith your desired camera URLs - Launch the app by running
main.py - Choose material β Click Capture Image β Image files will be saved
π« Limitations
- Currently supports exactly two cameras:
"left"and"right" - No dynamic camera scaling yet (optional feature if needed later)
Full Changelog: https://github.com/LEKPCSTEAM/OpenCV_Camera_Capture/commits/1.0.0
