ImagePRO-Python 0.5.0__tar.gz → 0.5.1__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.
- {imagepro_python-0.5.0/src/ImagePRO_Python.egg-info → imagepro_python-0.5.1}/PKG-INFO +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/pyproject.toml +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/body_analysis/body_pose_estimation.py +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/body_analysis/hand_tracking.py +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/face_analysis/eye_status_analysis.py +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/face_analysis/face_mesh_analysis.py +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/face_analysis/head_pose_estimation.py +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1/src/ImagePRO_Python.egg-info}/PKG-INFO +1 -1
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/LICENSE +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/setup.cfg +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/__init__.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/__init__.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/body_analysis/__init__.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/face_analysis/__init__.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/face_analysis/face_comparison.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/human_analysis/face_analysis/face_detection.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/object_analysis/object_detection.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/__init__.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/blur.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/contrast.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/crop.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/dataset_generator.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/grayscale.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/resize.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/rotate.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/sharpen.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/utils/__init__.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/utils/io_handler.py +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO_Python.egg-info/SOURCES.txt +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO_Python.egg-info/dependency_links.txt +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO_Python.egg-info/requires.txt +0 -0
- {imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO_Python.egg-info/top_level.txt +0 -0
|
@@ -99,7 +99,7 @@ def detect_body_pose(
|
|
|
99
99
|
|
|
100
100
|
def detect_body_pose_live():
|
|
101
101
|
"""Starts webcam and shows real-time body pose detection. Press ESC to exit."""
|
|
102
|
-
cap = cv2.VideoCapture(0)
|
|
102
|
+
cap = cv2.VideoCapture(0, cv2.CAP_DSHOW)
|
|
103
103
|
if not cap.isOpened():
|
|
104
104
|
raise RuntimeError("Failed to open webcam.")
|
|
105
105
|
|
|
@@ -115,7 +115,7 @@ def detect_hands_live(max_hands: int = 2, min_confidence: float = 0.7):
|
|
|
115
115
|
if not isinstance(min_confidence, (int, float)) or not (0.0 <= min_confidence <= 1.0):
|
|
116
116
|
raise ValueError("'min_confidence' must be a float between 0.0 and 1.0.")
|
|
117
117
|
|
|
118
|
-
cap = cv2.VideoCapture(0)
|
|
118
|
+
cap = cv2.VideoCapture(0, cv2.CAP_DSHOW)
|
|
119
119
|
if not cap.isOpened():
|
|
120
120
|
raise RuntimeError("Failed to open webcam.")
|
|
121
121
|
|
|
@@ -131,7 +131,7 @@ def analyze_eye_status_live(min_confidence: float = 0.7, threshold: float = 0.2)
|
|
|
131
131
|
if not isinstance(min_confidence, (int, float)) or not (0 <= min_confidence <= 1):
|
|
132
132
|
raise ValueError("'min_confidence' must be between 0 and 1.")
|
|
133
133
|
|
|
134
|
-
cap = cv2.VideoCapture(0)
|
|
134
|
+
cap = cv2.VideoCapture(0, cv2.CAP_DSHOW)
|
|
135
135
|
if not cap.isOpened():
|
|
136
136
|
raise RuntimeError("Cannot access webcam.")
|
|
137
137
|
|
|
@@ -181,7 +181,7 @@ def analyze_face_mesh_live(max_faces: int = 1, min_confidence: float = 0.7):
|
|
|
181
181
|
if not isinstance(min_confidence, (int, float)) or not (0 <= min_confidence <= 1):
|
|
182
182
|
raise ValueError("'min_confidence' must be between 0 and 1.")
|
|
183
183
|
|
|
184
|
-
cap = cv2.VideoCapture(0)
|
|
184
|
+
cap = cv2.VideoCapture(0, cv2.CAP_DSHOW)
|
|
185
185
|
if not cap.isOpened():
|
|
186
186
|
raise RuntimeError("Unable to open webcam.")
|
|
187
187
|
|
|
@@ -130,7 +130,7 @@ def estimate_head_pose_live(max_faces: int = 1, min_confidence: float = 0.7):
|
|
|
130
130
|
if not isinstance(min_confidence, (int, float)) or not (0 <= min_confidence <= 1):
|
|
131
131
|
raise ValueError("'min_confidence' must be between 0 and 1.")
|
|
132
132
|
|
|
133
|
-
cap = cv2.VideoCapture(0)
|
|
133
|
+
cap = cv2.VideoCapture(0, cv2.CAP_DSHOW)
|
|
134
134
|
if not cap.isOpened():
|
|
135
135
|
raise RuntimeError("Failed to access webcam.")
|
|
136
136
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/object_analysis/object_detection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO/pre_processing/dataset_generator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{imagepro_python-0.5.0 → imagepro_python-0.5.1}/src/ImagePRO_Python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|