Skip to main content

Package to process arcjet videos and segment the edge of the shock and of the sample

Project description

GitHub Docs PyPI version tutorial Downloads

arcjetCV Logo

arcjetCV

Package to process arcjet videos and segment the edge of the shock and of the sample.

arcjetCV Functionality

Installation

PyPi Installation (Universal)

Prerequisites:

  • Ensure you have Python 3.8 or higher installed.

To install arcjetCV via pip from PyPi, run:

pip install arcjetCV

This will install arcjetCV along with its dependencies.

Note for macOS Users:

You might need to install Xcode Command Line Tools:

xcode-select --install

Note for Linux Users:

You may need to install libxcb-cursor. Use your package manager to install it:

For Ubuntu/Debian-based distributions:

sudo apt-get install libxcb-cursor0

For Fedora:

sudo dnf install libxcb-cursor

For Arch Linux:

sudo pacman -S libxcb

Developer Installation

Prerequisites:

  • A valid git installation.
  • Miniconda or Anaconda for environment and package management:

To install arcjetCV for development purposes, follow these steps:

  1. Install git-lfs:

    Download and install it from here.

  2. Clone the repository and install the package:

git clone https://github.com/magnus-haw/arcjetCV.git
cd arcjetCV
conda env create -f env/arcjetCV_env_[cpu/gpu].yml
conda activate arcjetcv
python -m pip install -e .

The -e flag stands for 'editable' and means that any changes to the local source code will immediately affect the arcjetCV package and GUI.

Note for macOS Users:

You might need to install Xcode Command Line Tools:

xcode-select --install

How to Run

You can now launch the GUI by running:

conda activate arcjetCV
arcjetCV

or you can import arcjetCV's python API inside a python script, e.g. test.py:

import arcjetCV as arcv
video = arcv.Video("tests/arcjet_test.mp4")

and then run it as:

conda activate arcjetCV
python test.py

Documentation (django-wiki)

The living documentation now runs on django-wiki inside wiki_site/ (preferred path for edits). To start it locally:

cd wiki_site
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

Open http://127.0.0.1:8000/ to add and edit pages (log in with the superuser you created). Admin is at /admin/ and auth views are under /accounts/.

Legacy Sphinx and MkDocs builds remain in docs/ and mkdocs/ if you still need static HTML/PDF exports.

Citing

If you use arcjetCV in your research, please use the following BibTeX entry to cite our paper:

@article{doi:10.2514/1.A36132,
author = {Quintart, Alexandre M. and Haw, Magnus A. and Semeraro, Federico},
title = {arcjetCV: Open-Source Software to Analyze Material Ablation},
journal = {Journal of Spacecraft and Rockets},
volume = {62},
number = {5},
pages = {1644-1653},
year = {2025},
doi = {10.2514/1.A36132},
URL = {https://doi.org/10.2514/1.A36132},
eprint = {https://doi.org/10.2514/1.A36132},
abstract = { ArcjetCV is an open-source Python software designed to automate time-resolved measurements of heat shield material ablation and recession rates from arcjet test video footage. This new automated and accessible capability enables two-dimensional in situ recession characterization from profile video. ArcjetCV automates the video segmentation process using two primary machine-learning models: a one-dimensional (1D) Convolutional Neural Network (CNN) to infer the time window of interest and a two-dimensional CNN for image segmentation. A graphical user interface simplifies the user experience and an application programming interface allows users to call the core functions from scripts, enabling batch video processing. ArcjetCV’s capability to measure time-resolved recession the enables characterization of nonlinear processes (nonlinear recession, shrinkage, swelling, etc.), contributing to higher-fidelity validation and improved modeling of heat shield material performance. The source code associated with this paper can be found at https://github.com/magnus-haw/arcjetCV. }}

Legal / License

Copyright © 2024 United States Government as represented by the Administrator of the National Aeronautics and Space Administration. All Rights Reserved.

Disclaimers

No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE. THIS AGREEMENT DOES NOT, IN ANY MANNER, CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY OTHER APPLICATIONS RESULTING FROM USE OF THE SUBJECT SOFTWARE. FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND LIABILITIES REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE, AND DISTRIBUTES IT "AS IS."

Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS AGAINST THE UNITED STATES GOVERNMENT, ITS CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE OF THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES, EXPENSES OR LOSSES ARISING FROM SUCH USE, INCLUDING ANY DAMAGES FROM PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE SUBJECT SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS THE UNITED STATES GOVERNMENT, ITS CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY LAW. RECIPIENT'S SOLE REMEDY FOR ANY SUCH MATTER SHALL BE THE IMMEDIATE, UNILATERAL TERMINATION OF THIS AGREEMENT.

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

arcjetcv-1.1.11.tar.gz (458.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arcjetcv-1.1.11-py3-none-any.whl (463.8 kB view details)

Uploaded Python 3

File details

Details for the file arcjetcv-1.1.11.tar.gz.

File metadata

  • Download URL: arcjetcv-1.1.11.tar.gz
  • Upload date:
  • Size: 458.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arcjetcv-1.1.11.tar.gz
Algorithm Hash digest
SHA256 1be52ff14a1b7eedb88e6b398ed42618dc250f2440fa7ba12255bc071752607c
MD5 4ee8985b9d20ad3874f4c026a1d35e46
BLAKE2b-256 34daee72dbc38b98941c377227059180f6de428addd2640fb2550529a45785c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcjetcv-1.1.11.tar.gz:

Publisher: publish-pypi.yml on magnus-haw/arcjetCV

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arcjetcv-1.1.11-py3-none-any.whl.

File metadata

  • Download URL: arcjetcv-1.1.11-py3-none-any.whl
  • Upload date:
  • Size: 463.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arcjetcv-1.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 79e3922cf8a7180f037d9390d64149961993ea5d7c237e5511b99b033812d0ea
MD5 194e73ce692b45b8db28aae84e5a6aab
BLAKE2b-256 aa0f4a6f79065d2426b189c80a36403b3f86ee0a1b193ac714a3f94f791db6b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcjetcv-1.1.11-py3-none-any.whl:

Publisher: publish-pypi.yml on magnus-haw/arcjetCV

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page