- This project aims to capture images of objects from multiple camera angles and detect anomalies. It uses OpenCV for image capturing and provides a modular approach to manage camera configurations and image storage.
- Python 3.10
- OpenCV
- JSON for configuration
- Install package:
pip install mccp
Run the main.py script to start the application:
python main.py
Class: CameraManager
Manage and capture images.
Load camera configurations from JSON file.
Sort and display camera angles based on configuration.
Function: main()
Run camera identification, configuration, and image capturing process.
Class: DataAugmenter
Create synthetic data from captured images.
Class: Warehouse
Manage object names and setup directories.
Class: CameraConfigurator
Find and configure all connected cameras.
Configure exposure and white balance.
Function: batch_resize()
Post-capture resize.
Function: wcap():
Allow optimized image capture on Windows OS.
Function: view_camera()
View camera feed for any connected camera.
camera_config.json: Holds the camera settings and order.
Information on how to contribute available here.
This project is licensed under the MIT License - see the LICENSE file for details.