Python tool for image dewarping and flame front tracking in experimental fire research.
Project description
FlameTrack
| Release | Quality | Documentation |
|---|---|---|
FlameTrack is a desktop application for analysing fire spread from infrared and visible-light recordings. It corrects perspective distortion, detects the flame edge frame-by-frame, and stores all results in a documented HDF5 file.
Features
- Two experiment modes — Room Corner (6-point calibration) and Lateral Flame Spread (4-point calibration)
- Automatic point sorting — click the corners in any order, FlameTrack arranges them correctly
- Six edge-detection methods with adjustable thresholds and optional Otsu masking
- Parallel processing — Room Corner runs both panels simultaneously
- Reproducible results — every HDF5 output file stores the FlameTrack version and git commit used
Installation
pip install flametrack
flametrack
Requires Python 3.10 – 3.13. Full documentation: flametrack.readthedocs.io
Typical workflow
- Click Open Folder and select your experiment directory
- Place calibration points on the specimen plate corners
- Enter the plate dimensions in millimetres
- Click Dewarp → Find Edge
- Open the resulting
.h5file in Python, MATLAB, or any HDF5 viewer
Reading results in Python
import h5py
import numpy as np
with h5py.File("my_experiment_results_RCE.h5", "r") as f:
edge = f["edge_results"]["data"][:] # shape: (frames, rows)
# edge[t, y] = x-position of the flame edge at row y in frame t
Development installation
git clone https://github.com/FireDynamics/FlameTrack.git
cd FlameTrack
pip install -e ".[dev]"
pre-commit install
pytest tests/unit/
Citation
If you use FlameTrack in your work, please cite:
For the latest release (v1.0.1) the BibTeX entry is:
@software{wurzburger_2025_flametrack,
author = {Würzburger, Minh Tam and
Fehr, Marc},
title = {FlameTrack — Flame Spread Analysis Tool},
month = may,
year = 2025,
publisher = {Zenodo},
version = {v1.0.1},
doi = {10.5281/zenodo.14633209},
url = {https://doi.org/10.5281/zenodo.14633209},
}
If you used a different version, please use Zenodo to get the correct citation information.
Contributing
Bug reports, feature suggestions, and pull requests are welcome. Please open an issue or see the Contributing Guide.
License
See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flametrack-1.0.1.tar.gz.
File metadata
- Download URL: flametrack-1.0.1.tar.gz
- Upload date:
- Size: 21.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10002c44e578ce4ecfa1561db41c2a86d9a44c6cd899e2a6473ee17dfc7fdc3a
|
|
| MD5 |
246f4164869acfc3c884a01c333ed6db
|
|
| BLAKE2b-256 |
cde0c3220743ed285380e1a004e219e5bdd22a0ad8194eb1421ef9fd1a05847a
|
Provenance
The following attestation bundles were made for flametrack-1.0.1.tar.gz:
Publisher:
release.yml on FireDynamics/FlameTrack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flametrack-1.0.1.tar.gz -
Subject digest:
10002c44e578ce4ecfa1561db41c2a86d9a44c6cd899e2a6473ee17dfc7fdc3a - Sigstore transparency entry: 1402199663
- Sigstore integration time:
-
Permalink:
FireDynamics/FlameTrack@15ea774b32872b401148211a78cdc252e60845d6 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/FireDynamics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@15ea774b32872b401148211a78cdc252e60845d6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file flametrack-1.0.1-py3-none-any.whl.
File metadata
- Download URL: flametrack-1.0.1-py3-none-any.whl
- Upload date:
- Size: 57.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71bc9a47a94797fe39af7c3f8b1516f4dbbe4f9e3f97600f57c240ff1d31ec2b
|
|
| MD5 |
5986792f7bcad574c72051ae7f43ef56
|
|
| BLAKE2b-256 |
5748b610d772467c31140339de18755bec5b62f08cb28e3c4476e82e994242cc
|
Provenance
The following attestation bundles were made for flametrack-1.0.1-py3-none-any.whl:
Publisher:
release.yml on FireDynamics/FlameTrack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flametrack-1.0.1-py3-none-any.whl -
Subject digest:
71bc9a47a94797fe39af7c3f8b1516f4dbbe4f9e3f97600f57c240ff1d31ec2b - Sigstore transparency entry: 1402199690
- Sigstore integration time:
-
Permalink:
FireDynamics/FlameTrack@15ea774b32872b401148211a78cdc252e60845d6 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/FireDynamics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@15ea774b32872b401148211a78cdc252e60845d6 -
Trigger Event:
push
-
Statement type: