Camera Calibration w/ Python + OpenCV
A wrapper around the main functionalities offered by OpenCV for camera calibration for cleaner and maintainable calibration routines.
Dependencies
numpy (1.17.4 preferred)
opencv (3.4.2 preferred)
tqdm
##Installation
pip install camcalib
Instructions
Import
from cam_calib import camera_calibrate
Single Camera Calibration
Instantiate an object of type camera_calibrate by passing in relevant arguments to the constructor. (Example below uses some place holder arguments)
camera_1 = camera_calibrate(img_path = './path', dims = (w, h), img_size = (w_i, h_i),...)
Use the calib method on the object for single camera calibration
params = camera_1.calib()
Stereo Camera Calibration
Instantiate two objects of the type camera_calibrate by passing in relevant arguments to the constructor. (Example below uses some place holder arguments)
camera_1 = camera_calibrate(img_path = '../left_path', dims = (w, h), img_size = (w_i, h_i),...)
camera_2 = camera_calibrate(img_path = '../right_path', dims = (w, h), img_size = (w_i, h_i),...)
Call the class method stereo_calib method on the class camera_calibrate by passing the two objects as arguments.
stereo_params = camera_calibrate.stereo_calib(camera_1, camera_2)
Metadata
Release files for camcalib 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| camcalib-1.0.5.tar.gz | 4.7 kB | Without provenance | Details for camcalib-1.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| camcalib-1.0.5-py3-none-any.whl | Python 3 | none | any | Details for camcalib-1.0.5-py3-none-any.whl |
Total release size: 12.0 kB
Release files / camcalib-1.0.5.tar.gz
| Download URL | camcalib-1.0.5.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e855cfd6434af9c9bb86fac3ac451c80e2ef9b82e7790b7c372b22c64fb3b014
|
|
BLAKE2b-256 checksum How to use checksums |
135ca1c9da7658882770182053c999c62002fc720bef9ae678ad3786e4fe5ee8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
|
Release files / camcalib-1.0.5-py3-none-any.whl
| Download URL | camcalib-1.0.5-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3cd4791d5b0738ea4af9e1cf5e9fd7f8dbf798c82c7e29953c56633e814fd9d
|
|
BLAKE2b-256 checksum How to use checksums |
8b1513de475c9c4be64ec2e0a252d01a94a9e24ac94146d2e68f3792215d901d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2
|
Security for camcalib 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.