argus-cv 1.0.1__tar.gz → 1.1.0__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.
Files changed (35) hide show
  1. argus_cv-1.1.0/CHANGELOG.md +31 -0
  2. {argus_cv-1.0.1 → argus_cv-1.1.0}/PKG-INFO +1 -1
  3. {argus_cv-1.0.1 → argus_cv-1.1.0}/pyproject.toml +1 -1
  4. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/__init__.py +1 -1
  5. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/cli.py +16 -2
  6. argus_cv-1.0.1/CHANGELOG.md +0 -18
  7. {argus_cv-1.0.1 → argus_cv-1.1.0}/.github/workflows/ci.yml +0 -0
  8. {argus_cv-1.0.1 → argus_cv-1.1.0}/.github/workflows/docs.yml +0 -0
  9. {argus_cv-1.0.1 → argus_cv-1.1.0}/.github/workflows/release.yml +0 -0
  10. {argus_cv-1.0.1 → argus_cv-1.1.0}/.gitignore +0 -0
  11. {argus_cv-1.0.1 → argus_cv-1.1.0}/README.md +0 -0
  12. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/assets/javascripts/extra.js +0 -0
  13. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/assets/stylesheets/extra.css +0 -0
  14. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/getting-started/installation.md +0 -0
  15. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/getting-started/quickstart.md +0 -0
  16. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/guides/datasets.md +0 -0
  17. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/guides/listing.md +0 -0
  18. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/guides/splitting.md +0 -0
  19. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/guides/stats.md +0 -0
  20. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/guides/viewer.md +0 -0
  21. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/index.md +0 -0
  22. {argus_cv-1.0.1 → argus_cv-1.1.0}/docs/reference/cli.md +0 -0
  23. {argus_cv-1.0.1 → argus_cv-1.1.0}/mkdocs.yml +0 -0
  24. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/__main__.py +0 -0
  25. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/commands/__init__.py +0 -0
  26. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/core/__init__.py +0 -0
  27. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/core/base.py +0 -0
  28. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/core/coco.py +0 -0
  29. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/core/split.py +0 -0
  30. {argus_cv-1.0.1 → argus_cv-1.1.0}/src/argus/core/yolo.py +0 -0
  31. {argus_cv-1.0.1 → argus_cv-1.1.0}/tests/conftest.py +0 -0
  32. {argus_cv-1.0.1 → argus_cv-1.1.0}/tests/test_list_command.py +0 -0
  33. {argus_cv-1.0.1 → argus_cv-1.1.0}/tests/test_split_command.py +0 -0
  34. {argus_cv-1.0.1 → argus_cv-1.1.0}/tests/test_stats_command.py +0 -0
  35. {argus_cv-1.0.1 → argus_cv-1.1.0}/uv.lock +0 -0
@@ -0,0 +1,31 @@
1
+ # CHANGELOG
2
+
3
+ <!-- version list -->
4
+
5
+ ## v1.1.0 (2026-01-14)
6
+
7
+ ### Code Style
8
+
9
+ - Fix line too long in _get_display_image
10
+ ([`7a56904`](https://github.com/pirnerjonas/argus/commit/7a569049baa4e90956e089d970e192eb159a57e0))
11
+
12
+ ### Features
13
+
14
+ - Add toggle for annotation overlay in view command
15
+ ([`65fb239`](https://github.com/pirnerjonas/argus/commit/65fb23942d53947df57b6e4c12d11e5dd1aa98f3))
16
+
17
+
18
+ ## v1.0.1 (2026-01-12)
19
+
20
+ ### Bug Fixes
21
+
22
+ - Rename CLI command from argus to argus-cv
23
+ ([`325ef2a`](https://github.com/pirnerjonas/argus/commit/325ef2acfad88d179ab5b4c5e2d2621e34f9fa7e))
24
+
25
+
26
+ ## v1.0.0 (2026-01-12)
27
+
28
+
29
+ ## v0.1.0 (2026-01-12)
30
+
31
+ - Initial Release
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: argus-cv
3
- Version: 1.0.1
3
+ Version: 1.1.0
4
4
  Summary: CLI tool for working with vision AI datasets
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: numpy>=1.24.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "argus-cv"
3
- version = "1.0.1"
3
+ version = "1.1.0"
4
4
  description = "CLI tool for working with vision AI datasets"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,3 +1,3 @@
1
1
  """Argus - Vision AI dataset toolkit."""
2
2
 
3
- __version__ = "1.0.1"
3
+ __version__ = "1.1.0"
@@ -250,6 +250,7 @@ def view(
250
250
  - Mouse Wheel: Zoom in/out
251
251
  - Mouse Drag: Pan when zoomed
252
252
  - R: Reset zoom
253
+ - T: Toggle annotations
253
254
  - Q / ESC: Quit viewer
254
255
  """
255
256
  # Resolve path and validate
@@ -298,7 +299,8 @@ def view(
298
299
  f"[green]Found {len(image_paths)} images. "
299
300
  f"Opening viewer...[/green]\n"
300
301
  "[dim]Controls: ← / → or P / N to navigate, "
301
- "Mouse wheel to zoom, Drag to pan, R to reset, Q / ESC to quit[/dim]"
302
+ "Mouse wheel to zoom, Drag to pan, R to reset, T to toggle annotations, "
303
+ "Q / ESC to quit[/dim]"
302
304
  )
303
305
 
304
306
  # Generate consistent colors for each class
@@ -480,6 +482,9 @@ class _ImageViewer:
480
482
  self.current_img: np.ndarray | None = None
481
483
  self.annotated_img: np.ndarray | None = None
482
484
 
485
+ # Annotation visibility toggle
486
+ self.show_annotations = True
487
+
483
488
  def _load_current_image(self) -> bool:
484
489
  """Load and annotate the current image."""
485
490
  image_path = self.image_paths[self.current_idx]
@@ -500,7 +505,12 @@ class _ImageViewer:
500
505
  if self.annotated_img is None:
501
506
  return np.zeros((480, 640, 3), dtype=np.uint8)
502
507
 
503
- img = self.annotated_img
508
+ if self.show_annotations:
509
+ img = self.annotated_img
510
+ elif self.current_img is not None:
511
+ img = self.current_img
512
+ else:
513
+ img = self.annotated_img
504
514
  h, w = img.shape[:2]
505
515
 
506
516
  if self.zoom == 1.0 and self.pan_x == 0.0 and self.pan_y == 0.0:
@@ -537,6 +547,8 @@ class _ImageViewer:
537
547
  info_text = f"[{idx}/{total}] {image_path.name}"
538
548
  if self.zoom > 1.0:
539
549
  info_text += f" (Zoom: {self.zoom:.1f}x)"
550
+ if not self.show_annotations:
551
+ info_text += " [Annotations: OFF]"
540
552
 
541
553
  cv2.putText(
542
554
  display, info_text, (10, 30),
@@ -638,6 +650,8 @@ class _ImageViewer:
638
650
  self._prev_image()
639
651
  elif key == ord("r"): # R to reset zoom
640
652
  self._reset_view()
653
+ elif key == ord("t"): # T to toggle annotations
654
+ self.show_annotations = not self.show_annotations
641
655
 
642
656
  cv2.destroyAllWindows()
643
657
 
@@ -1,18 +0,0 @@
1
- # CHANGELOG
2
-
3
- <!-- version list -->
4
-
5
- ## v1.0.1 (2026-01-12)
6
-
7
- ### Bug Fixes
8
-
9
- - Rename CLI command from argus to argus-cv
10
- ([`325ef2a`](https://github.com/pirnerjonas/argus/commit/325ef2acfad88d179ab5b4c5e2d2621e34f9fa7e))
11
-
12
-
13
- ## v1.0.0 (2026-01-12)
14
-
15
-
16
- ## v0.1.0 (2026-01-12)
17
-
18
- - Initial Release
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