arcjetCV 0.0.4.dev7__tar.gz → 0.0.4.dev8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/PKG-INFO +1 -1
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV.egg-info/PKG-INFO +1 -1
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/setup.py +1 -1
- arcjetcv-0.0.4.dev8/tests/__init__.py +27 -0
- arcjetcv-0.0.4.dev7/tests/__init__.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/LICENSE +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/README.md +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/__init__.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/gui/__init__.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/gui/arcjetCV_gui.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/gui/custom_classes.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/gui/logo/arcjetCV_logo_.png +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/gui/logo/arcjetCV_logo_white.png +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/gui/main.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/gui/main_window.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/segmentation/__init__.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/segmentation/contour/__init__.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/segmentation/contour/cnn.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/segmentation/contour/contour.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/segmentation/time/__init__.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/segmentation/time/time_segmentation.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/utils/__init__.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/utils/logger.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/utils/output.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/utils/processor.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/utils/utils.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV/utils/video.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV.egg-info/SOURCES.txt +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV.egg-info/dependency_links.txt +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV.egg-info/entry_points.txt +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV.egg-info/requires.txt +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/arcjetCV.egg-info/top_level.txt +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/setup.cfg +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/tests/README.md +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/tests/test_functions.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/tests/test_gui.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/tests/test_obj_models.py +0 -0
- {arcjetcv-0.0.4.dev7 → arcjetcv-0.0.4.dev8}/tests/test_segmentation.py +0 -0
|
@@ -21,7 +21,7 @@ check_linux_dependencies()
|
|
|
21
21
|
# Define the setup configuration
|
|
22
22
|
setup(
|
|
23
23
|
name="arcjetCV",
|
|
24
|
-
version="0.0.4.
|
|
24
|
+
version="0.0.4.dev8", # Set the version directly here
|
|
25
25
|
author="arcjetCV team",
|
|
26
26
|
description="Package to process arcjet videos and segment the edge of the shock and of the sample",
|
|
27
27
|
long_description=long_description,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import urllib.request
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def download_large_file(url, local_filename):
|
|
6
|
+
"""Downloads the file from the specified URL if it doesn't already exist locally."""
|
|
7
|
+
if not os.path.exists(local_filename):
|
|
8
|
+
print(f"Downloading {url} to {local_filename}...")
|
|
9
|
+
urllib.request.urlretrieve(url, local_filename)
|
|
10
|
+
print(f"Downloaded {local_filename}.")
|
|
11
|
+
else:
|
|
12
|
+
print(f"{local_filename} already exists, skipping download.")
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def download_test_video():
|
|
16
|
+
"""Ensures that the test video 'arcjet_test.mp4' is downloaded."""
|
|
17
|
+
base_url = "https://github.com/magnus-haw/arcjetCV/raw/main/arcjetCV/tests/"
|
|
18
|
+
file_to_download = "arcjet_test.mp4"
|
|
19
|
+
|
|
20
|
+
download_large_file(
|
|
21
|
+
base_url + file_to_download,
|
|
22
|
+
os.path.join(os.path.dirname(__file__), file_to_download),
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# Automatically download the video when the function is called
|
|
27
|
+
download_test_video()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|