Jirka Borovec
9faa4f6133
chore: update `mdformat` hook arguments to disable wrapping ( #2307 )
...
* chore: update `mdformat` hook arguments to disable wrapping
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Apply suggestions from code review
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2026-06-09 16:15:05 +02:00
abritton2002
51dd062407
fix: VideoInfo.fps returns float instead of truncated int ( #2210 )
...
* VideoInfo.fps returns float instead of int
Truncating the raw CAP_PROP_FPS value with int() causes timing drift for
non-integer frame rates (23.976, 29.97, 59.94). Over a long video this
accumulates into noticeable sync errors — e.g. 23 vs 23.976 drifts ~1s
per minute of footage.
Changes:
- VideoInfo.fps type annotation: int -> float
- from_video_path: int(video.get(CAP_PROP_FPS)) -> float(...)
- ByteTrack.frame_rate type annotation: int -> float (already converts
to int internally via max_time_lost = int(frame_rate / 30.0 * buffer))
- Tests: assert fps is float, add float_fps_video_path fixture at 23.976
* fix: update examples to cast float fps to int where required
* fix: wrap long docstring line in FPSBasedTimer (ruff E501)
* test: remove unused float_fps_video_path fixture
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-13 20:05:19 +02:00
Jirka Borovec
d925cdf666
Standardize examples and error messages with `uv` CLI for virtual env. and dependency installation ( #2129 )
2026-02-03 13:59:35 +01:00
Jirka Borovec
1688e71ed9
examples/speed_estimation: improve CLI argument parsing ( #2056 )
...
* refactor(speed_estimation): improve CLI argument parsing
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Apply suggestions from code review
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-03 12:02:22 +01:00
pre-commit-ci[bot]
3abb6245c1
chore(pre_commit): ⬆ pre_commit autoupdate ( #2075 )
...
* chore(pre_commit): ⬆ pre_commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.14.10 → v0.14.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.10...v0.14.11 )
- [github.com/executablebooks/mdformat: 0.7.17 → 1.0.0](https://github.com/executablebooks/mdformat/compare/0.7.17...1.0.0 )
* fix(pre_commit): 🎨 auto format pre-commit hooks
* Apply suggestions from code review
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com>
Co-authored-by: jirka <jirka.borovec@seznam.cz>
2026-01-12 20:15:27 +01:00
Onuralp SEZER
b792db72fd
chore: 🧹 update requirements.txt to remove version constraints for dependencies
2025-07-15 12:29:47 +02:00
Onuralp SEZER
2adb64b949
chore: 🧹 update requirements files to remove version constraints
2025-07-15 12:15:55 +02:00
Onuralp SEZER
a57f4f22ae
docs: 📝 git clone examples with single branch and single depth added into example docs
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-11-19 17:59:58 +03:00
Onuralp SEZER
78f17cba2e
chore: 🧹 clean up documentation and improve formatting
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-09-27 14:18:26 +03:00
LinasKo
a7ecc57432
Remove deprecations, make changelog
2024-08-27 17:01:04 +03:00
LinasKo
28f83b18f9
Deprecate BoundingBoxAnnotator, rename to BoxAnnotator
2024-07-12 18:18:50 +03:00
dependabot[bot]
f72d06b05e
Bump tqdm from 4.66.1 to 4.66.3 in /examples/speed_estimation
...
Bumps [tqdm](https://github.com/tqdm/tqdm ) from 4.66.1 to 4.66.3.
- [Release notes](https://github.com/tqdm/tqdm/releases )
- [Commits](https://github.com/tqdm/tqdm/compare/v4.66.1...v4.66.3 )
---
updated-dependencies:
- dependency-name: tqdm
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-03 21:51:32 +00:00
SkalskiP
ffda94b1e5
pin inference version to 0.9.17
2024-04-30 16:06:02 +02:00
SkalskiP
d4b1375db7
pin inference version
2024-04-29 21:46:07 +02:00
SkalskiP
ba2d30d110
`calculate_dynamic_line_thickness` -> `calculate_optimal_line_thickness`
...
`calculate_dynamic_text_scale` -> `calculate_optimal_text_scale`
2024-04-26 17:36:50 +02:00
SkalskiP
a45341ce63
final cleanup; setting `supervision>=0.20.0` in `requirements.txt` and refactoring stream processing scripts
2024-04-24 22:41:59 +02:00
Jeslin P James
26c2a7ef9c
updated examples
2024-04-13 10:18:30 +05:30
SkalskiP
8a2abe72ae
utils refactor
2024-03-20 19:37:03 +01:00
SkalskiP
775efd0d41
fix inference and yolo nas speed estimation examples
2024-02-01 10:25:43 +01:00
pre-commit-ci[bot]
6128576ea1
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-18 16:06:10 +00:00
Piotr Skalski
536e0d86a8
Merge pull request #733 from roboflow/fix/speed-estimation-issue-when-detections-empty
...
`fix/speed-estimation-issue-when-detections-empty`
2024-01-18 11:30:04 +01:00
Piotr Skalski
1c414bd70f
Update speed estimation example tutorial README.md
2024-01-17 15:52:41 +01:00
Piotr Skalski
e32b05a636
Update speed estimation example tutorial README.md
2024-01-17 15:38:19 +01:00
SkalskiP
99d1b6d130
ready for review
2024-01-17 12:11:31 +01:00
pre-commit-ci[bot]
4d8f15f295
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-16 16:55:57 +00:00
SkalskiP
c78354203d
ready for review
2024-01-16 17:51:56 +01:00
Onuralp SEZER
a337ee591a
feat: ✨ supervison downloader added
...
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
2024-01-09 05:15:28 +03:00
Piotr Skalski
a72ad42628
Update README.md
2024-01-08 14:02:27 +01:00
pre-commit-ci[bot]
be5748c086
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-08 12:57:53 +00:00
SkalskiP
f0142344ae
update note in speed estimation emo `README.md`
2024-01-08 13:57:17 +01:00
SkalskiP
86134993c8
Merge remote-tracking branch 'origin/example/speed_estimation' into example/speed_estimation
2024-01-08 13:52:19 +01:00
SkalskiP
8bab49157d
working version of `inference_example.py`
2024-01-08 13:52:09 +01:00
pre-commit-ci[bot]
4ae9131f0a
fix(pre_commit): 🎨 auto format pre-commit hooks
2024-01-08 12:03:31 +00:00
SkalskiP
69894c82af
initial version of `inference_example.py` script
2024-01-08 13:01:08 +01:00
SkalskiP
e009402934
`yolo_nas_example.py` script is ready
2024-01-08 12:26:43 +01:00
SkalskiP
351ef464d9
initial version of `yolo_nas_example.py` script
2024-01-08 12:04:29 +01:00
SkalskiP
949e326559
updated `README.md` and `ultralytics_example.py`
2024-01-08 08:55:28 +01:00
SkalskiP
0a7e116d7f
added `script.sh` and updated `README.md`
2024-01-08 08:34:55 +01:00
SkalskiP
5ce65a2fd5
current version
2024-01-08 08:11:40 +01:00
SkalskiP
3e6c1799ef
current version
2024-01-05 16:51:27 +01:00
SkalskiP
d83547ec80
initial working version
2024-01-04 23:38:47 +01:00
SkalskiP
7e8d44ac35
dropping idea of using lines to calculate speed
2024-01-04 22:35:59 +01:00
SkalskiP
2e9b2a1bcb
detection, tracking and annotation added
2024-01-04 20:54:37 +01:00
SkalskiP
5df9730b3f
🚗 💨 💨 💨 speed estimation example initial commit
2024-01-04 20:08:01 +01:00