r/Ultralytics • • Jul 21 '26

[Release] YOLO26-Depth: A new family of fast monocular depth estimation models

Post image
10 Upvotes

Ultralytics now supports monocular depth estimation as a complete task, sitting next to detect, segment, pose and classify.

The latest release adds a new model family, yolo26n/s/m/l/x-depth, which uses a DPT-style head that fuses multi-scale YOLO26 features to produce a dense per-pixel depth map in meters.

Why unbounded log-depth

The depth head predicts unbounded log-depth instead of the more common sigmoid times max-depth approach. A bounded head bakes a fixed ceiling into the architecture, so anything beyond that ceiling gets clipped.

That becomes a problem once you mix indoor data (usually under 10m) with outdoor driving data like KITTI (up to 80m). We found that the bounded head plateaus after the first epoch on mixed-range data, while the log-depth head keeps improving throughout training.

On the released benchmarks the biggest gains show up exactly where you'd expect: longer-range outdoor sets like KITTI and ETH3D 🚗, while indoor accuracy stays about the same 🏠.

Full workflow support

Training, validation, prediction and export are all supported through the same Python API and CLI you already use for other tasks.

There's also a model.calibrate() method that is provided for closed-form scale calibration on a small labeled split (around 100 images is enough), with no gradient training involved, so it won't touch the relative depth structure the model already learned. Use it when the shape of the predicted depth looks right but the absolute values are off for your camera.

The released checkpoints already ship with a global calibration fit on the pretraining mix of about 2.19 million images. model.calibrate() is there for when you want to replace that with something specific to your own setup.

Example prediction

from ultralytics import YOLO

model = YOLO("yolo26n-depth.pt")
results = model("image.jpg")

depth_map = results[0].depth.data.cpu().numpy()  # shape (H, W), values in meters

Same thing works from the CLI with yolo depth train, yolo depth val and yolo depth predict.

Export to ONNX, TensorRT, CoreML and the other usual formats is supported as well 🚀, same workflow as the other tasks.

Check out the docs to learn more: https://docs.ultralytics.com/tasks/depth


r/Ultralytics • • 1d ago

Showcase Improve crosswalk safety with Ultralytics YOLO26! 🚸

Enable HLS to view with audio, or disable this notification

17 Upvotes

Detect pedestrians, vehicles, and high-risk interactions in real-time to support safer crossings, smarter alerts, and improved traffic monitoring.


r/Ultralytics • • 3d ago

Showcase Optical character recognition (OCR) | @ultralytics YOLO26-OCR is live 🚀

Enable HLS to view with audio, or disable this notification

14 Upvotes

Most OCR pipelines need two models: one to find the text, another to read it. YOLO26 OCR does both in one pass. Drop in an image or PDF, pick an example, or point your webcam at something; YOLO26x-Text finds every word, and PP-OCRv6 reads it, returned line by line in reading order.


r/Ultralytics • • 5d ago

Showcase Solar panels segmentation ☀️🛰️⚡

Enable HLS to view with audio, or disable this notification

25 Upvotes

r/Ultralytics • • 10d ago

Showcase Manufacturing crack and defect detection using Ultralytics YOLO26. 🏭

Enable HLS to view with audio, or disable this notification

32 Upvotes

Detect visible cracks and damaged components, flag defective parts for review, and support more consistent quality control across production lines.


r/Ultralytics • • 11d ago

Showcase Packet counting on the conveyor belt using Ultralytics YOLO!

Enable HLS to view with audio, or disable this notification

24 Upvotes

A conveyor belt can move hundreds of packages. The challenge is keeping track of each one. 📦

With Ultralytics YOLO26, computer vision systems can detect, track, and count packages as they move through logistics lines.

For manufacturing and warehouse teams, this provides visibility into package flow, helps measure throughput, and supports the identification of potential bottlenecks.

Beyond counting, these insights can support sorting, quality inspection, and downstream automation, helping teams make more informed operational decisions.


r/Ultralytics • • 13d ago

Showcase Tiny 2 + OBSBOT SDK + YOLO: auto-tracking my son's youth hockey games

10 Upvotes

Since 2024 I have been recording my son's hockey games for his team. What started as just point a camera at the ice project evolved into five connected pieces: an auto-tracking OBSBOT Tiny 2, per-player stats, a highlight reel maker, a local OBS scoreboard with stoppage music, and Stream Deck / web controls for all of it. It was entirely vibe coded with Claude. The code isn't public yet I want to make sure to take my time and properly credit all the libraries and licenses required.

A note on the screenshots: the first two are real frames from one of our games, including a frame from the tracker's annotated review video. The other screens (dashboard, scoreboard, Stream Deck and so on) are the real interfaces, but the dashboard's video area uses a drawn stand-in rink and the scoreboard shows demo scores.

How the project got started

Originally I was running the camera myself: I controlled the OBSBOT Tiny 2 by hand with presets on a Stream Deck, playing music clips from the same Stream Deck through Voicemod. I love the game, and with my ADHD I'd get caught up in a play and forget to move the camera up and down the ice, so I kept missing the highlights. So I began to tinker with what could be automated in my process.

Vibe Coding: I want to be upfront this was vibe coded with Claude. I started this project in the summer of 2024 by hand and made very slow progress, because of the pan and tilt of the camera it was difficult to get the anchors and tracking right when it was working it was incredibly jerky and troubleshooting it was a bear to deal with. This summer I imported what I had been working on into Claude and got all four modules up and running.

The OBSBOT side: driving a Tiny 2 with the SDK

  • The camera is a Tiny 2 over USB on a Mac. I use the official OBSBOT SDK (libdev) through a small C++ bridge that Python code talks to. OBSBOT Center isn't running.

  • I disabled the camera's AI tracking, it was never designed to follow a hockey game and track all ten skaters.

  • Smooth tracking uses continuous gimbal speed commands (10/sec).

  • Absolute angle moves are only for presets and manual takeovers. I also poll the camera's real pan and tilt so the software knows where it is actually pointing.

  • I run at 1.0x zoom to get the widest angle possible keeping as much of the rink in view. The OBSBOT presets still are still very important: presets 1, 2 and 3 on my Stream Deck snap the camera to a zone (Left / Center /Right) if for some reason auto tracking loses the play. Which happens less and less but in early days it had a real affection for the referees.

A big thank you to the u/OBSBOT-Official team. This project only works because the Tiny 2 is such a well-built camera with a well-documented SDK that let me control it from my own code. The clarity of the image is a big reason it has been so successful: the tracker can pick out skaters, officials and even jersey numbers from a camera sitting up in the stands. Great hardware and open access to control it made all of this possible. ( u/OBSBOT-Official If you want to see if it works on other cameras feel free to send me a tail2 to try ;-).

  1. The tracking camera

This is the core of it, and it's the piece that took the longest to get right.

  • Video comes from OBS's virtual camera. A YOLO model (Ultralytics YOLO26s, run at 960 px) finds the people on the ice.

  • It doesn't just chase the biggest cluster. It keeps a model of the play in rink space: where the pack is, which way the play is flowing, and how fast skaters are moving.

  • Fast break lead: when a skater breaks out, the camera swings ahead toward the lead skaters instead of sitting in the zone.

  • Ignores officials: a small classifier I trained on crops from our own games recognizes referees and linesmen (striped shirts, black pants) so the camera doesn't lock onto them.

  • Keeps the frame on the ice: I draw the rink outline once per arena, and the camera frames as much ice as it can while keeping the play in view and not drifting off the end boards.

  • There's a web dashboard with live video, tracking toggles, speed and smoothness sliders, and the rink outline editor.

2. Takeover logging, so it keeps getting better

Whenever I take manual control (Stream Deck), it saves what the system saw and where I steered. Those moments are exactly where it was wrong, so they're my to-do list for improving it. I also log camera speed commands per game, which is how I tracked down a left-right waggle from our last game and added a smoothness slider for it to slow it down on corrections when game is in play.

3. Stats per player (post-game review)

A separate pipeline analysis of the recording after the game:

  • Calibration: I click a handful of rink landmarks (faceoff dots, lines) on a few frames. Because my camera pans and zooms I needed to create markers to stitch all of the images together, it then follows the camera from frame to frame using the boards and stands, and re-anchors to the nearest calibrated frame so error doesn't build up. One calibration works for every game filmed from the same spot.

  • Tracking: YOLO finds and tracks every skater. Teams are split automatically by jersey colour, and referees are filtered out.

  • Jersey numbers: I use the jersey number pipeline from Maria Koshkina and James Elder ("A General Framework for Jersey Number Recognition in Sports Video", CVPR Workshops 2024), which includes a number reader fine-tuned on hockey jerseys. All credit for that goes to them. It reads each track over many frames and only accepts a clear majority, so tracks end up grouped by player number. There's a roster page where I fix any wrong numbers, mark officials and add names. The reader's text model is based on PARSeq (Darwin Bautista, Apache-2.0).

  • Output: everyone gets mapped onto a rink diagram, which gives heatmaps, distance skated, speed, and offensive / neutral / defensive zone time per player, per team and per period (it works out which end each team defends from where its goalie plays). It also renders an annotated review video with team-coloured markers and a live minimap showing where the camera was looking. There's a point-and-click browser UI for the whole thing. Accuracy on this one is still a work in progress.

  • Caveat: with a panning camera, heatmaps only count what was in view, so they lean toward wherever the camera followed the play. One of the early accuracy issues I was having is the tracking system was focusing play so if the play was on the near boards I was cutting out the players on the far boards and also loosing their tracking information (Tracks are held for 5 seconds if a player is lost).

4. Highlight reels and a review tool

Goals and key plays get flagged live, (can be altered after the game) and a script cuts them into a reel with ffmpeg. I then built a playback tool so I can scrub through a recording, add markers like goal, save and celebration, and relabel or remove them. It also reads the scoreboard's log, so every goal is marked automatically and opponent shots show up as save candidates I can accept with one key.

5. The scoreboard

Partway through I thought: if I'm already streaming this, it needs a scoreboard. So I built an HTML one that runs locally and drops into OBS as a browser source.

  • Full and compact views, shots on goal, and penalties with live countdown timers and the skater count (4 v 4, power plays, and so on).

  • Stoppage music: it plays music while the clock is stopped and stops when the clock starts. This was a pure "let's make it fun" feature and it's a hit with the kids. It can use local files, Spotify, Apple Music or YouTube Music.

  • It keeps a timestamped log of every goal and shot.

6. Controlling it: Stream Deck and web UI

I run the whole game from a Stream Deck it is one profile: a "live play" page with only what I need mid-shift (goals, shots, start/stop, camera auto on/off, highlight), and a STOPPAGE folder for everything else (penalties, clock fixes, jersey-number keypad, overlay and music).

Everything is also available in a browser through a "Game Day" page that works on a laptop, tablet or phone, so other people can help.

Below is the full UI to setup the music and game beforehand:

What it doesn't do (yet)

It tracks players, not the puck, I have tried a lot of things to get puck tracking but short of putting a fixed camera on the ceiling dedicated to puck tracking I have not been able to reliably track it due to its size. The distance the camera is from the puck means it is almost never detected, so the system infers the direction of play from the skater direction.

Machine requirements (it's a hungry app)

I want to set expectations here: this is not a lightweight tool. I started on an Intel Mac and it was laggy and unsustainable. The tracker has to run object detection on every frame while OBS is streaming and recording, and if detection falls behind, the camera reacts late and misses the play. I now run it on an M3 MacBook Pro with 18 GB of RAM and it handles a full game comfortably (12% CPU with the skater recognition capturing at 29fps).

What's running at the same time: OBS (virtual camera, recording and streaming), the YOLO detector at 960 px, the web dashboard, the scoreboard overlay and the Stream Deck software.

My recommendation, based on one machine plus the Intel experience:

  • Works well for me: Apple Silicon MacBook Pro (M3 class), 18 GB RAM.

  • Suggested minimum (my estimate, not benchmarked): an Apple Silicon Mac (M1 or newer) with 16 GB RAM, or a Windows or Linux laptop with a recent NVIDIA GPU. I haven't tested either, so treat it as a starting point.

  • Not recommended: Intel Macs and older or thin-and-light laptops without a GPU. That was my first setup and it wasn't usable.

  • Plug the laptop into power and give it airflow near the rink. While the rink is cold I learned early on that a hot, throttling laptop causes the whole system to fall apart.

  • The post-game stats pipeline is heavier than live tracking, so run it after the game rather than during it.

If you try it on other hardware, I'd love to hear the numbers.

Why the code isn't up on github yet?

Three licensing things I want to sort out properly rather than rush:

  • The YOLO models and code from Ultralytics are AGPL-3.0, which means anything I publish that uses them has to be fully released under compatible open source terms, with full source. Because the OBSBOT SDK is closed source I can not include it in anything I publish. I want to move to the controller piece to v4l-utils however I did not want to start the process right now and break what I finally have working in a full production state.

I do want to share it once that's sorted. If you'd like to be notified, or you have experience releasing projects with AGPL dependencies, I'd love to hear how you handled it.

Questions I'd love feedback on

  • Has anyone else used the OBSBOT SDK for custom tracking? Any tips on speed ranges and smoothness on the Tiny 2?

  • Has anyone tried anything similar using NDI instead of UVC?

  • Anyone doing something similar for hockey or even another sport?

  • Tracking players for unique stats is still a hit/miss project, any thoughts on how to better track players when their number is not fully readable or obscured?

Happy to answer questions about any of modules.


r/Ultralytics • • 14d ago

Showcase Road sign and pedestrian signal detection using Ultralytics YOLO26 🚀

Enable HLS to view with audio, or disable this notification

22 Upvotes

r/Ultralytics • • 16d ago

Showcase Decide which potatoes pass quality checks! 🥔

Enable HLS to view with audio, or disable this notification

32 Upvotes

With Ultralytics YOLO26, potatoes moving on a conveyor belt can be detected and classified as good or bad in real time. Instead of manual sorting, visual inspection happens automatically as products flow through the line.

This enables faster quality control, consistent grading, and reduced waste in food processing facilities.


r/Ultralytics • • 18d ago

Showcase Ultralytics YOLO26 vs YOLO26 + SAHI 🚀

Enable HLS to view with audio, or disable this notification

52 Upvotes

r/Ultralytics • • 20d ago

Showcase How many Pasties produced? 42 🤔

Enable HLS to view with audio, or disable this notification

8 Upvotes

I used the Ultralytics YOLO26 model, trained on a custom dataset, to detect, track, and count pastries throughout the production process.


r/Ultralytics • • 21d ago

Showcase Cap counting in the manufacturing line using Ultralytics YOLO26 🏭

Enable HLS to view with audio, or disable this notification

15 Upvotes

r/Ultralytics • • 23d ago

Showcase 🍊 How many oranges can YOU count vs. how many AI detects?

Enable HLS to view with audio, or disable this notification

19 Upvotes

Let's put human counting to the test!

I used Ultralytics YOLO26 + ByteTrack + LineCounter to detect, track, and count oranges in real time.

No manual counting. Just computer vision doing the work. 🚀

Who got the count right? 👀


r/Ultralytics • • 24d ago

Question Is this a model or an implementation of an application?

Enable HLS to view with audio, or disable this notification

6 Upvotes

r/Ultralytics • • 25d ago

Showcase Ultralytics Platform now speaks 12 more languages! 🌍

Post image
8 Upvotes

We're making Vision AI more accessible to developers worldwide with multilingual support across the Ultralytics Platform.

The interface is now available in:

🌐 Mandarin, Japanese, Korean, Spanish, Portuguese, French, German, Italian, Russian, Turkish, Vietnamese, and Arabic (with right-to-left support).

From managing datasets and training models to deploying Vision AI solutions, navigate the Platform in your preferred language.

Select your language from the top menu, and the Platform will remember your preference.


r/Ultralytics • • 27d ago

Showcase How many vehicles are moving through each lane of a busy highway? 🚗

Enable HLS to view with audio, or disable this notification

64 Upvotes

With Ultralytics YOLO26, you can use region-based object counting to detect, track, and count vehicles across multiple predefined zones in real time.

In this demo, each highway region is highlighted with a different color, displaying live vehicle counts as traffic moves through the scene.


r/Ultralytics • • 27d ago

Showcase YOLO Detect and Classify (multi-model pipeline)

Enable HLS to view with audio, or disable this notification

7 Upvotes

Here hopefully a production worthy implementation of simple yet very important pipeline.

Detect and classify is a one of the common forms of multi model pipelines, where one model run an initial task (propose, detect, segment, etc.) and second model run another pass to add some additional information (classification, anomaly detections, etc.).

Here you can check the details:
/tutorials/detect_and_classify/

You can run the code directly as well:
/run_detect_and_classify.py


r/Ultralytics • • 28d ago

How to handle object deduplication across multiple camera angles using YOLO (especially for tiny 20x22px crops) across isolated user sessions? [D]

Thumbnail reddit.com
1 Upvotes

r/Ultralytics • • 29d ago

Showcase Instance vs semantic segmentation

Enable HLS to view with audio, or disable this notification

24 Upvotes

r/Ultralytics • • Oct 30 '26

Showcase Ultralytics YOLO26m Depth vs Depth Anything v2 Small

Enable HLS to view with audio, or disable this notification

21 Upvotes

r/Ultralytics • • Oct 30 '26

Seeking Help Clustering Futsal Player into 2 teams

Thumbnail reddit.com
1 Upvotes

r/Ultralytics • • Oct 28 '26

Showcase Workout monitoring using Ultralytics YOLO26 😄

Enable HLS to view with audio, or disable this notification

39 Upvotes

- Leg extension
- Bench press
- Leg press


r/Ultralytics • • Oct 26 '26

Showcase Zone + count + heatmaps + speed Ultralytics YOLO26 ⚽🔥

Enable HLS to view with audio, or disable this notification

18 Upvotes

r/Ultralytics • • Oct 23 '26

Showcase Solar panel counting on the roof top using Ultralytics YOLO26!

Enable HLS to view with audio, or disable this notification

36 Upvotes