A Python package designed for capturing images from multiple cameras simultaneously. MCCP simplifies the process of data collection for machine learning models and setting up computer vision applications.
Project description
MultiCamComposePro - Manage multiple cameras in Python
MCCP
Overview
- 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.
Requirements
- Python 3.10
- OpenCV
- JSON for configuration
Installation
- Install package:
pip install mccp
Usage
Run the main.py script to start the application:
python main.py
Modules
camera.py
Class: CameraManager
Manage and capture images.
Load camera configurations from JSON file.
Sort and display camera angles based on configuration.
main.py
Function: main()
Run camera identification, configuration, and image capturing process.
augment.py
Class: DataAugmenter
Create synthetic data from captured images.
utils.py
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.
Configuration
camera_config.json: Holds the camera settings and order.
Contributing
Information on how to contribute available here.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mccp-0.1.5.tar.gz
(11.4 kB
view details)
Built Distribution
mccp-0.1.5-py3-none-any.whl
(12.6 kB
view details)
File details
Details for the file mccp-0.1.5.tar.gz
.
File metadata
- Download URL: mccp-0.1.5.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d70bbbb6ee397d978e87de62d58e1b15d7e5b22ab970b638efc948c96ac51d9 |
|
MD5 | 330c3f19f0174683f52317e6be1b749f |
|
BLAKE2b-256 | 2e4576ecc76630d5bc518e460c81c33d13946153a74695d3a49fe909ebd02802 |
File details
Details for the file mccp-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: mccp-0.1.5-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b588171de2d6abc4b942ff3f3dd2b9afc512b3cebea61048d0f2656f4cb1b98 |
|
MD5 | 87f70cad0314cbfe9a4762a65aef4ad9 |
|
BLAKE2b-256 | d08971cec6fa64cbf2fee7f7c38f61bfc6cd3887656d2104c0e4ba2db6998569 |