SkalskiP
a0c60fe043
Refactor video stream and traffic analysis process
...
Restructuring the video stream and traffics analysis codes resulted in two new key classes, VideoProcessor, and DetectionsManager. The main aim behind this was to improve code readability and reusability. VideoProcessor class handles video processing as an object, while DetectionsManager is responsible for managing detections and trackings. This change has also led to the removal of the process_frame function, as its functionality is now encapsulated within VideoProcessor class methods. Moreover, the code now identifies zones in and out separately, thereby handling detections more distinctly and efficiently. Lastly, Polygon Zones are no longer differentiated by color.
2023-09-04 17:28:19 +02:00
SkalskiP
01d8b0316c
"Improve detection and annotation in the supervision module
...
The change modifies the polygon zone verification method in `polygon_zone.py` to ensure `self.current_count` always returns an integer, preventing possible type errors in downstream processing. Two classes, `Trace` and `TraceAnnotator`, were added to `annotate.py`, providing functionality for trace annotation during detection. In `script.py`, optimized the trace annotation process by replacing the previous class implementations with the new ones from `annotate.py`, and also cleaned up and simplified polygon zone initiation and frame processing. This provides more efficient and robust video processing and zone-based detection features."
2023-09-03 18:25:28 +02:00
SkalskiP
6356a8ac3d
Add Trace and TraceAnnotator classes to traffic_analysis script
...
Added two new classes to enhance traffic analysis over video frames. Trace class stores the positional information of different objects detected in each video frame for a specified length. TraceAnnotator class uses the information stored in Trace instance to annotate the motion path of detected objects on the video frames. Also, corrected the incorrect numpy import statement in the dependence code.
2023-09-03 17:11:25 +02:00
pre-commit-ci[bot]
bbd9a955f8
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-09-02 19:45:43 +00:00
Onuralp SEZER
7b2bcf00ad
fix: 🐛 sam xyxy check added
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org >
2023-09-02 22:45:29 +03:00
Onuralp SEZER
775a3f2795
fix: 🐛 cpu().numpy() converts not require empty check
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org >
2023-09-02 22:43:27 +03:00
Onuralp SEZER
5dae02e93e
fix: 🐛 deepsparse model_stub to model_path docs fix
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org >
2023-09-02 20:40:35 +03:00
Onuralp SEZER
666427df08
fix: 🐛 empty check for xyxy results for prevent ValueError and return as empty detection
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org >
2023-09-02 20:36:00 +03:00
Hardik Dava and pre-commit-ci[bot]
78411b14b5
fixed empty detections for deepsparse ( #348 )
...
* fixed empty detections for deepsparse
* fix(pre_commit): 🎨 auto format pre-commit hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-09-02 20:08:30 +03:00
SkalskiP
69ae5c6cd9
Add traffic analysis script
...
Introduced a python script for video processing using YOLO and ByteTrack. The script processes videos frame by frame and allows annotation based on model's detections. Additionally, the requirements.txt file was added along with .gitignore to exclude the data/ directory. The requirements file lists the necessary packages for the script to run.
2023-09-01 18:06:09 +02:00
dependabot[bot]
94d08bc9b5
Bump cryptography from 41.0.2 to 41.0.3 ( #345 )
...
Bumps [cryptography](https://github.com/pyca/cryptography ) from 41.0.2 to 41.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/41.0.2...41.0.3 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 12:27:48 +03:00
Onuralp SEZER
227615b766
fix: 🐛 exclude examples folder from package
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-31 20:08:29 +03:00
Onuralp SEZER
baff75332f
docs: 📝 example guide visual rules and license rule added
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-31 20:03:02 +03:00
Onuralp SEZER
434a695324
docs: 📝 example guidelines added
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-31 19:54:08 +03:00
Piotr Skalski
693465d74d
Merge pull request #342 from roboflow/main
...
Merge pull request #337 from roboflow/develop
2023-08-31 17:54:46 +02:00
Piotr Skalski
f82f0fade6
Merge pull request #337 from roboflow/develop
...
`supervision-0.14.0` release
0.14.0
2023-08-31 15:18:14 +02:00
Piotr Skalski
474a4db248
Merge pull request #312 from onuralpszr/ci-release-clean
...
ci(pypi): 🚧 release pypi action automatic release per tag and main branch
2023-08-31 15:16:13 +02:00
SkalskiP
89a9307855
😊 make pre-commit happy
2023-08-31 15:13:11 +02:00
SkalskiP
5f94b6c23a
👊 supervision version to 0.14.0
2023-08-31 15:11:33 +02:00
SkalskiP
18c972e422
🪵 supervision-0.14.0 changelog update
2023-08-31 15:10:33 +02:00
Piotr Skalski
426c4498df
Merge pull request #341 from roboflow/example/tracking
...
tracking supervision example
2023-08-31 14:57:18 +02:00
pre-commit-ci[bot]
a3596584c7
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-08-31 12:54:34 +00:00
SkalskiP
d8787080ec
Merge remote-tracking branch 'origin/example/tracking' into example/tracking
...
# Conflicts:
# examples/tracking/README.md
2023-08-31 14:54:18 +02:00
SkalskiP
c9e10b8a04
Ready fo merge 💪
2023-08-31 14:54:02 +02:00
pre-commit-ci[bot]
597e12d723
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-08-31 11:13:06 +00:00
SkalskiP
bb2d2c9f80
Initial commit with tracking supervision example
2023-08-31 13:06:27 +02:00
Onuralp SEZER
c2a29d6577
ci: 🚧 pypi_test_username added and 'v' letter removed from tags
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-30 19:24:00 +03:00
Piotr Skalski
7a6da63a69
Update package version to 0.14.0b2 in pyproject.toml
0.14.0b2
2023-08-30 18:01:45 +02:00
Onuralp SEZER
796c17f085
ci: 🔥 branch push rule removed ( #340 )
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-30 19:00:28 +03:00
Onuralp SEZER
ddd400ed24
ci(pypi): 🚧 test(a,b,rc) release to pypi github action added ( #311 )
...
* ci(pypi): 🚧 test(a,b,rc) release to pypi github action added
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
* ci: 🚧 pypi_test_username added
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
* chore: 🔥 v letter removed from tag for consistency to old tags
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
---------
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
0.14.0b1
2023-08-30 18:42:31 +03:00
Piotr Skalski
38b6ac9935
Update package version to 0.14.0b1 in pyproject.toml
2023-08-30 17:40:54 +02:00
dependabot[bot]
4a450ce2ed
Bump tornado from 6.3.2 to 6.3.3 ( #339 )
...
Bumps [tornado](https://github.com/tornadoweb/tornado ) from 6.3.2 to 6.3.3.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst )
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.3.2...v6.3.3 )
---
updated-dependencies:
- dependency-name: tornado
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 18:40:20 +03:00
dependabot[bot]
9c40f6f4aa
Bump certifi from 2023.5.7 to 2023.7.22 ( #338 )
...
Bumps [certifi](https://github.com/certifi/python-certifi ) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22 )
---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 18:39:43 +03:00
dependabot[bot]
f6766cb116
Bump jupyter-server from 2.7.0 to 2.7.2 ( #332 )
...
Bumps [jupyter-server](https://github.com/jupyter-server/jupyter_server ) from 2.7.0 to 2.7.2.
- [Release notes](https://github.com/jupyter-server/jupyter_server/releases )
- [Changelog](https://github.com/jupyter-server/jupyter_server/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jupyter-server/jupyter_server/compare/v2.7.0...v2.7.2 )
---
updated-dependencies:
- dependency-name: jupyter-server
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-30 18:34:45 +03:00
Piotr Skalski
52f5d9ef63
Merge pull request #336 from roboflow/slicer_refactor
...
slicer refactor
2023-08-30 16:16:52 +02:00
SkalskiP
02117dd8ae
Small fix in InferenceSlicer.__call__
2023-08-30 16:08:56 +02:00
SkalskiP
bddd32dbb5
refactor(inference_slicer): Update class and method docstrings
2023-08-30 15:56:15 +02:00
pre-commit-ci[bot]
07c4472eac
fix(pre_commit): 🎨 auto format pre-commit hooks
2023-08-30 13:17:14 +00:00
SkalskiP
11541fe271
fix crop_image circular imports
2023-08-30 15:16:25 +02:00
SkalskiP
6d7de56c25
slicer refactor
2023-08-30 15:08:07 +02:00
Piotr Skalski
85de9b255b
Merge pull request #282 from hardikdava/slicer
...
Slicer for small object detection
2023-08-30 14:48:46 +02:00
Piotr Skalski
a3a19d93bc
Merge pull request #329 from roboflow/add-links
...
Add explore more Roboflow open source projects section
2023-08-29 18:30:09 +02:00
Piotr Skalski
1eaccd3e87
Update README.md
2023-08-29 18:28:20 +02:00
James Gallagher
eb1155cc17
commit feedback
2023-08-29 12:06:22 +01:00
Onuralp SEZER
beb3a2ae9f
docs: 📝 cosmetic fix and remove supervision itself from list
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-29 13:44:33 +03:00
James Gallagher
b4efe69d1e
add open source projects links
2023-08-29 11:28:45 +01:00
pre-commit-ci[bot]
3d6b5e75a8
chore(pre_commit): ⬆ pre_commit autoupdate ( #328 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.285 → v0.0.286](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.285...v0.0.286 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-08-28 23:45:36 +03:00
Onuralp SEZER
a7edf46717
docs: 📝 code quality duplication removal and improvement in current ( #318 )
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com >
2023-08-24 22:09:15 +03:00
Tiago De Gaspari
cd6a7fd186
Fix SAM video URL on README ( #314 )
2023-08-23 17:25:14 +03:00
Onuralp SEZER
82729a61b0
ci: 💚 pre-commit autoupdate ( #307 )
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@fedoraproject.org >
2023-08-23 13:28:24 +03:00