Crackpot – Concrete Research And Crack Knowledge Photogrammetric Observation Tool
Crackpot extracts crack properties from photographs of cracks. It guides a set of images through calibration, crack masking, skeleton extraction and export, and computes crack length, area and mean crack width from a calibrated resolution. Automated results can be corrected by hand at every stage.
Installation
Crackpot is installed with pip and started with the crackpot command:
pip install crackpot
crackpot
The automatic crack detection is optional, because it requires TensorFlow,
which takes up considerably more space than the application itself. The base
installation therefore only covers the manual annotation workflow, in which the
crack mask is drawn by hand (None in the masking stage). If the automatic
detection is unavailable, the corresponding entry in the model dropdown is
greyed out and None is preselected.
To install the automatic detection as well, use the tensorflow extra:
pip install "crackpot[tensorflow]"
Both variants can be installed later on: running the second command on an existing installation adds the missing parts. On Linux and macOS the quotes are required, otherwise the shell interprets the brackets as a file pattern.
Installing into a virtual environment is recommended. Crackpot requires Python 3.10 or newer; the
tensorflowextra additionally requires a Python version TensorFlow provides a release for.
Documentation
- The handbook walks through every stage of the workflow: src/crackpot/resources/docs/README.md. It is also available offline from within the application, via Help → Documentation.
- How the code is organized is described in doc/DevelopmentDocumentation.md, which also links to the pages on how the skeleton is cleaned and measured.
- How a new version is built and published on PyPI is described in doc/Packaging.md.
Running from a source checkout
pip install -e .
crackpot
The Qt interface (.ui), the resource collection (.qrc) and the translations
(.ts) are compiled into Python modules, which are kept in the repository.
After one of them has been changed, the generated modules are refreshed with:
python src/convertpyfile.py
License
Crackpot is licensed under the GNU General Public License v3.0 only, see LICENSE.
Two third-party components ship with it under their own terms:
- The user interface icons are taken from
Huge Icons and are licensed
under the MIT License, see
src/crackpot/resources/license/icon_MIT_LICENSE.txt. - The pre-trained detection model is taken from
Concrete Crack Segmentation
and is licensed under the MIT License, see
src/crackpot/resources/license/model_MIT_LICENSE.txt.
Metadata
Release files for crackpot 2.0
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 |
|---|---|---|---|---|
| crackpot-2.0.tar.gz | 80.6 MB | Without provenance | Details for crackpot-2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crackpot-2.0-py3-none-any.whl | Python 3 | none | any | Details for crackpot-2.0-py3-none-any.whl |
Total release size: 161.2 MB
Release files / crackpot-2.0.tar.gz
| Download URL | crackpot-2.0.tar.gz |
|---|---|
| Size | 80.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3318049490dd016d2358a3afbaae670baf9b9e69d94a98ee9b31d9613e61f693
|
|
BLAKE2b-256 checksum How to use checksums |
09defc915b5b8b9b33e1c7ef7714b87d57fc8e2e2d9f7c24063def671e9c1a26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Release files / crackpot-2.0-py3-none-any.whl
| Download URL | crackpot-2.0-py3-none-any.whl |
|---|---|
| Size | 80.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69b75db970cc32744574a72f7be40d93e8a7fb1e75235fb59bc628eed416dc09
|
|
BLAKE2b-256 checksum How to use checksums |
ef78963db65d863e1394e766d4df86e6e3113e8bba25ed267e33cafd42c6d8b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.3
|
Security for crackpot 2.0
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.