cpselect
Does what cpselect does in MATLAB.
Prerequisites
You will need to have the following packages installed:
- matplotlib (tested with 3.0.1)
- Pillow (tested with 5.3.0)
- PyQt5 (tested with 5.11.3)
Installing and import
Install the package using pip
pip install cpselect
and import it with
from cpselect.cpselect import cpselect
Using cpselect
Just call function cpselect. The function takes two inputs, two strings with the path to your pictures.
controlpointlist = cpselect("path/to/image1", "path/to/image2")
It will return a list object, which contains a dictionary for each control point.
[
{
'point_id': 1,
'img1_x': 1060.4614978873824,
'img1_y': 1152.554044351164,
'img2_x': 136.567465687222,
'img2_y': 1095.033125293419,
}
{
'point_id': 2,
'img1_x': 1681.815230178675,
'img1_y': 727.6577421225597,
'img2_x': 1378.2481704454449,
'img2_y': 101.68856148684131,
}
]
Metadata
Release files for cpselect 1.0.3
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 |
|---|---|---|---|---|
| cpselect-1.0.3.tar.gz | 14.7 kB | Without provenance | Details for cpselect-1.0.3.tar.gz |
Release files / cpselect-1.0.3.tar.gz
| Download URL | cpselect-1.0.3.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f9b667f8ef217624a138cf958ff0a2693eca9439caa943008237d274ad1de3c
|
|
BLAKE2b-256 checksum How to use checksums |
55ac8c1fbc294ba1b62c5e62b200958f387efc19e37714d567d86386f0ef2f8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0
|
Security for cpselect 1.0.3
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.