100 Commits
Author SHA1 Message Date
LinasKo 9975b63216 Enable kapa for 0.27.0 2024-12-13 12:22:45 +02:00
LinasKo b6a6746f8b Disable kapa until we test its functionality 2024-12-13 12:13:39 +02:00
LinasKo 9a4781f2a5 Remove import check for assets
* The dependencies were already merged into the main requirements
2024-12-11 18:33:06 +02:00
LinasKo d061a4c89b Add CropAnnotator image example 2024-12-11 18:09:31 +02:00
LinasKo 001f85ad0f Add ComparisonAnnotator docs, remove Crop & RoundBox annotator from preview
* Up to 20 tabs can be made at once. This is likely a bug relating to the underlying mkdocs plugin, but a quick check for hardcoded values yielded nothing.
2024-12-11 16:58:36 +02:00
LinasKo fcf8b7f378 Fix Kapa widget initialization 2024-12-10 12:59:36 +02:00
LinasKo 4c88e03b6c Add xyxy_to_polygons, ComparisonAnnotator 2024-12-06 17:00:51 +02:00
LinasKo f3d27d8381 Cap ultralytics version 2024-12-05 17:23:05 +02:00
LinasKo 7141f11c0b detections __getitem__ test: minor class name correction 2024-12-04 12:13:33 +02:00
LinasKo a4dfcacbfd detections __getitem__: earlier check for empty detections 2024-12-03 13:12:14 +02:00
LinasKo fac1581fcd from_inference now supports roboflow results without json() 2024-12-02 16:38:59 +02:00
LinasKo 853cbc428f How to Benchmark: typos, images, Colab, correct class remap 2024-11-29 18:58:33 +02:00
LinasKo d3f6570a89 Update model benchmarking guide with model running and metrics
* Install inference directly for now
2024-11-29 18:16:44 +02:00
LinasKo d1c8adb33a How To: Benchmark Model
* Initial version of model benchmarking guide
2024-11-28 15:53:44 +02:00
LinasKo 4bfee1096e docs: removed git checkout develop
Develop is the primary branch, so explicit checkout is not needed
2024-11-25 13:11:54 +02:00
LinasKo 37b5dd477b bump version from 0.25.0 to 0.26.0rc1 2024-11-18 19:30:02 +02:00
LinasKo 8d562c16a6 Bump supervision to 0.25.0 2024-11-12 23:53:48 +02:00
LinasKo 2d50beeaa9 Add changelog 2024-11-12 23:46:29 +02:00
LinasKo 7b3d88602b 'New' tags for docs of 0.25.0 2024-11-12 13:08:08 +02:00
LinasKo 90168644de Update deprecated.md 2024-11-12 12:45:53 +02:00
LinasKo 3692fb65f9 Smart Lables: Increase minimum step size to 2 2024-11-11 20:07:51 +02:00
LinasKo 1d9f0b1994 SmartLabels: Labels move proportianlly to IoU 2024-11-11 19:47:58 +02:00
LinasKo c12c562e29 Label annotators: add docstring to _get_label_properties 2024-11-11 15:15:30 +02:00
LinasKo 10652efbc4 Label annotators: remove unused functions get_box_intersection, get_unit_vector 2024-11-11 15:07:22 +02:00
LinasKo 3532130b2d Label annotators: xyxy = label_properties[:, :4] moved inside if self.smart_position: 2024-11-11 15:05:57 +02:00
LinasKo 79b45a4ea8 Label, RichLabel VertexLabel annotators: rename 'smart_positions' arg to 'smart_position' 2024-11-11 15:03:52 +02:00
LinasKo 4326b87191 Even better Discord shield (thanks Brad) 2024-11-08 16:51:21 +02:00
LinasKo 38dbf5d05d Remove TextProperties class, merge auxiliary functions, use numpy arrays for passing data 2024-11-08 16:42:04 +02:00
LinasKo 5e76f86ff9 3 changes to spread_put_boxes algo:
* Vectorized
* Using forces rather than discrete steps
* Move along secondary axis more
2024-11-08 15:47:37 +02:00
LinasKo 01c2912a64 Move FONT to global scope 2024-11-08 13:10:18 +02:00
LinasKo 5fedfe5220 Rename "spread_out" arg to "smart_positions" 2024-11-08 13:07:34 +02:00
LinasKo c43ca06609 Expand Detections.merge tests with metadata 2024-11-08 12:48:23 +02:00
LinasKo b72ad4656b Unit tests for merge_metadata, fixes involving numpy arrays 2024-11-08 11:52:24 +02:00
LinasKo e4cf743c1c Add explanations for small/medium/large in metric results 2024-11-08 01:36:56 +02:00
LinasKo 19677bede5 Merge branch 'develop' into fix/address-release-pr-comments 2024-11-08 01:34:27 +02:00
LinasKo 0bfcdeab6f Add mAR docstrings & examples 2024-11-08 01:01:52 +02:00
LinasKo 83d4386fa2 Implemented mAR metric 2024-11-08 00:09:55 +02:00
LinasKo 42bb4c2865 Add print results and plot examples to plot() 2024-11-07 21:16:45 +02:00
LinasKo 4ed05e76fd Add example images for metrics 2024-11-07 20:58:18 +02:00
LinasKo 2084f57d76 Split How To Track Keypoints into multiple sections 2024-11-07 20:26:29 +02:00
LinasKo 1b101b49ac Renamed crossing_acceptance_threshold to minimum_crossing_threshold 2024-11-07 18:32:58 +02:00
LinasKo abcb055815 Removed LineZone property docstrings; added 2 properties to Attributes 2024-11-07 18:28:34 +02:00
LinasKo c3d7dc0ee3 Move keypoint to detections converstion to sv.KeyPoints.
* Test colab: https://colab.research.google.com/drive/10PMuW0IyaksofqI70NLnB_-Fnr4oKVmk?usp=sharing
2024-11-07 17:59:02 +02:00
LinasKo c6c447c527 Imporved Discord shield-badge 2024-11-07 17:47:00 +02:00
LinasKo b66702c5ff Remove dead code, surplus function args 2024-11-07 17:32:09 +02:00
LinasKo 6728527f36 Smart annotators are now called via "spread_out" param.
* Alos, refactored RichLabelAnnotator so its structure matches LabelAnnotator
2024-11-07 17:23:23 +02:00
LinasKo 89b911d5f9 Guide: New section in "Track Objects on Video", for keypoints 2024-11-06 21:27:37 +02:00
LinasKo 763be226a4 Fix: unaccounted for missing keypoints returned as [0, 0] 2024-11-06 21:00:31 +02:00
LinasKo c52223b4b9 Merge branch 'develop' into feat/keypoints-to-detections-and-keypoint-tracking 2024-11-06 20:04:53 +02:00
LinasKo a0e909669d Add keypoints_to_detections 2024-11-06 20:03:48 +02:00
LinasKo 698c085518 Add KeyPoints.is_empty() 2024-11-06 20:02:31 +02:00
LinasKo 6d7dba7572 Typo: LineZone in PolygonZone 2024-11-06 20:02:11 +02:00
LinasKo c54b4be4f0 Add skiing video asset 2024-11-06 19:49:36 +02:00
LinasKo e1af717c59 Add environment to publish.yml, publish-test.yml
* Similar issue: https://github.com/pypa/gh-action-pypi-publish/issues/217#issuecomment-1965733177
* Minor stylistic edits to the file
2024-11-06 15:37:37 +02:00
LinasKo 58c5aa981b Merge branch 'develop' into feature/remove-false-line-counts 2024-11-06 14:23:54 +02:00
LinasKo ee3aa9f08d Merge branch 'develop' into feature/remove-false-line-counts 2024-11-06 14:14:50 +02:00
LinasKo 659ddec360 VideoSimk automatically infers video_info 2024-11-06 14:07:26 +02:00
LinasKo d1e11684e7 Fixed bugs, heavily refactored crossing confirmation in LineZone 2024-11-06 00:24:09 +02:00
LinasKo d645bd816e Fix: Add metadata to public var retrieval test 2024-11-04 12:41:16 +02:00
LinasKo 5cce8a1599 Remoe Detections.empty metadata field 2024-11-04 12:23:56 +02:00
LinasKo 22d827fac4 Minor fix: show current NO_ID value of the ID counter when printing error 2024-11-01 20:41:38 +02:00
LinasKo 9eee76a6d1 Remove start_frame from ByteTrack 2024-11-01 20:36:08 +02:00
LinasKo d3210ed0cc Minor rename to avoid name shadowing 2024-11-01 20:36:00 +02:00
LinasKo cfd02c8c5c fix(pre_commit): 🎨 auto format pre-commit hooks 2024-11-01 20:34:58 +02:00
LinasKo fd1277f29a Add types, move STrack into a new file 2024-11-01 20:33:46 +02:00
LinasKo b380bd2df7 Correct but useless: Moved shared kalman to ByteTrack
* It's not stateful! All it keeps is the initial params - motion and update matrices
2024-11-01 20:31:04 +02:00
LinasKo 89be6f92d2 Get rid of BaseTrack completely
* 85%-90% of it was used in STrack
* 10% was used by ByteTrack
2024-11-01 20:31:04 +02:00
LinasKo 37cc16e7a8 Bugfix: remove reset start frame when tracker is reset 2024-11-01 20:30:21 +02:00
LinasKo e8983bf427 BaseTrack: Move trivial values used in STrack to STrack 2024-11-01 20:28:38 +02:00
LinasKo 1f5b1c7e01 BaseTrack: Move TrackState to STrack 2024-11-01 20:28:38 +02:00
LinasKo 4678dfc74a Fix regression where all uninitialized tracks are connected
* Apparently, external track ID must start with `1` and not `0`. Not sure where this coupling comes from.
2024-11-01 19:29:31 +02:00
LinasKo b8daa408bf Reset default color selection to CLASS for TraceAnnotator 2024-11-01 18:14:56 +02:00
LinasKo 353fa93305 Bugfix: Tracker reset fails 2024-10-31 19:41:13 +02:00
LinasKo d1c07bc106 Add OBB support to precision and recall 2024-10-31 18:05:54 +02:00
LinasKo 6f3491f03c Fix issue in polygon_to_mask - expects a np.int32 datatype 2024-10-31 17:18:08 +02:00
LinasKo 37f0ad8b14 Add OBB support to F1 Score 2024-10-31 15:57:31 +02:00
LinasKo 02735848b5 Undo style, class agnostic, mAP regressions. Fix empty OBB object shape 2024-10-31 15:42:04 +02:00
LinasKo b760b96e4f Merge upstream 'develop' into develop 2024-10-31 15:33:23 +02:00
LinasKo 3e8a88a8d4 Add Precision and Recall to metrics __init__ 2024-10-18 15:28:45 +03:00
LinasKo fbd96d10c4 Add new and missing docstrings, examples to metrics, new Common section 2024-10-18 15:16:01 +03:00
LinasKo c17de5c11b Add precision and recall metrics 2024-10-18 14:37:36 +03:00
LinasKo eb3e1e6293 Add usage example in Polygon Zone docs 2024-10-18 12:45:38 +03:00
LinasKo 4a7d9ceaa9 Tracker fix: add & rework mistakenly removed ID system
* External IDs were counted as the numbers grow very large very fast
* Reworked ID counting as a class, as state is necessary, and only STracks know if an external ID is required after the update (see conditions everywhere before self.external_id_counter.new_id() is called).
2024-10-18 01:01:43 +03:00
LinasKo e5215b967c typos, minor type updates 2024-10-17 23:52:05 +03:00
LinasKo 1b95d1dea2 Change get_polygon_center validation to fail on 0 points 2024-10-17 23:11:56 +03:00
LinasKo 302041d8aa Removed welcome workflow
* It doesn't work, and trip new contributors up
2024-10-14 13:56:52 +03:00
LinasKo c5dfb47d5c Remove old unused code: CLASS_ID_NONE 2024-10-10 13:02:07 +03:00
LinasKo 2530c41ffa docs: fix datatype of class_agnostic in MeanAveragePrecisionResult 2024-10-10 13:00:07 +03:00
LinasKo ebbc79aeae Merge branch 'develop' into fix/class-agnostic 2024-10-09 12:04:27 +03:00
LinasKo e1e00ffc52 pathch: minor typo in changelog 2024-10-04 22:47:27 +03:00
LinasKo c9dfdbe301 Fixed: Admonitions formatting reformatted incorrectly
* Manually saving docs files elsewhere reformats admonitions there
2024-10-04 22:34:13 +03:00
LinasKo 38a1d3ad90 Docs: missing Return docstring for LineZoneAnnotatorMulticlass.annotate 2024-10-04 22:25:44 +03:00
LinasKo 68d668a1f2 Update "New" tags in documentation 2024-10-04 22:22:10 +03:00
LinasKo 8f61898964 Point changelog links to 0.24.0 2024-10-04 22:13:26 +03:00
LinasKo 02ed59b27b Add changelog, deprecations 2024-10-04 22:08:56 +03:00
LinasKo db0a078280 Bugfix: missing LineZoneAnnotatorMulticlass.annotate docs 2024-10-04 21:29:15 +03:00
LinasKo 66067cc0ac Remove deprecated frame_resolution_wh from PolygonZone 2024-10-04 00:53:28 +03:00
LinasKo eb0e50a2f9 Update hacktoberfest banner 2024-10-03 15:30:20 +03:00
LinasKo 2be5008b3c Minors docs edit: Tell what classes can be annotated by the embedded annotator 2024-10-03 12:49:40 +03:00
LinasKo ef89d8ceff Remove the Workflows introduction.
* Info is available upon mousing-over the '?' icon on the embed.
2024-10-03 12:22:42 +03:00