Update YOLOv8 to YOLO11 in region-counting.md (#18360)

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
Muhammad Rizwan Munawar 2024-12-23 22:48:43 +05:00 committed by GitHub
parent da9d8730f9
commit e65c513e65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,14 +1,14 @@
--- ---
comments: true comments: true
description: Learn how to use Ultralytics YOLOv8 for precise object counting in specified regions, enhancing efficiency across various applications. description: Learn how to use Ultralytics YOLO11 for precise object counting in specified regions, enhancing efficiency across various applications.
keywords: object counting, regions, YOLOv8, computer vision, Ultralytics, efficiency, accuracy, automation, real-time, applications, surveillance, monitoring keywords: object counting, regions, YOLO11, computer vision, Ultralytics, efficiency, accuracy, automation, real-time, applications, surveillance, monitoring
--- ---
# Object Counting in Different Regions using Ultralytics YOLO 🚀 # Object Counting in Different Regions using Ultralytics YOLO 🚀
## What is Object Counting in Regions? ## What is Object Counting in Regions?
[Object counting](../guides/object-counting.md) in regions with [Ultralytics YOLOv8](https://github.com/ultralytics/ultralytics/) involves precisely determining the number of objects within specified areas using advanced [computer vision](https://www.ultralytics.com/glossary/computer-vision-cv). This approach is valuable for optimizing processes, enhancing security, and improving efficiency in various applications. [Object counting](../guides/object-counting.md) in regions with [Ultralytics YOLO11](https://github.com/ultralytics/ultralytics/) involves precisely determining the number of objects within specified areas using advanced [computer vision](https://www.ultralytics.com/glossary/computer-vision-cv). This approach is valuable for optimizing processes, enhancing security, and improving efficiency in various applications.
<p align="center"> <p align="center">
<br> <br>
@ -31,8 +31,8 @@ keywords: object counting, regions, YOLOv8, computer vision, Ultralytics, effici
| Retail | Market Streets | | Retail | Market Streets |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| ![People Counting in Different Region using Ultralytics YOLOv8](https://github.com/ultralytics/docs/releases/download/0/people-counting-different-region-ultralytics-yolov8.avif) | ![Crowd Counting in Different Region using Ultralytics YOLOv8](https://github.com/ultralytics/docs/releases/download/0/crowd-counting-different-region-ultralytics-yolov8.avif) | | ![People Counting in Different Region using Ultralytics YOLO11](https://github.com/ultralytics/docs/releases/download/0/people-counting-different-region-ultralytics-yolov8.avif) | ![Crowd Counting in Different Region using Ultralytics YOLO11](https://github.com/ultralytics/docs/releases/download/0/crowd-counting-different-region-ultralytics-yolov8.avif) |
| People Counting in Different Region using Ultralytics YOLOv8 | Crowd Counting in Different Region using Ultralytics YOLOv8 | | People Counting in Different Region using Ultralytics YOLO11 | Crowd Counting in Different Region using Ultralytics YOLO11 |
!!! example "Region Counting Example" !!! example "Region Counting Example"
@ -97,13 +97,13 @@ Here's a table with the `RegionCounter` arguments:
## FAQ ## FAQ
### What is object counting in specified regions using Ultralytics YOLOv8? ### What is object counting in specified regions using Ultralytics YOLO11?
Object counting in specified regions with [Ultralytics YOLOv8](https://github.com/ultralytics/ultralytics) involves detecting and tallying the number of objects within defined areas using advanced computer vision. This precise method enhances efficiency and [accuracy](https://www.ultralytics.com/glossary/accuracy) across various applications like manufacturing, surveillance, and traffic monitoring. Object counting in specified regions with [Ultralytics YOLO11](https://github.com/ultralytics/ultralytics) involves detecting and tallying the number of objects within defined areas using advanced computer vision. This precise method enhances efficiency and [accuracy](https://www.ultralytics.com/glossary/accuracy) across various applications like manufacturing, surveillance, and traffic monitoring.
### How do I run the object counting script with Ultralytics YOLOv8? ### How do I run the region based object counting script with Ultralytics YOLO11?
Follow these steps to run object counting in Ultralytics YOLOv8: Follow these steps to run object counting in Ultralytics YOLO11:
1. Clone the Ultralytics repository and navigate to the directory: 1. Clone the Ultralytics repository and navigate to the directory:
@ -119,9 +119,9 @@ Follow these steps to run object counting in Ultralytics YOLOv8:
For more options, visit the [Run Region Counting](https://github.com/ultralytics/ultralytics/blob/main/examples/YOLOv8-Region-Counter/readme.md) section. For more options, visit the [Run Region Counting](https://github.com/ultralytics/ultralytics/blob/main/examples/YOLOv8-Region-Counter/readme.md) section.
### Why should I use Ultralytics YOLOv8 for object counting in regions? ### Why should I use Ultralytics YOLO11 for object counting in regions?
Using Ultralytics YOLOv8 for object counting in regions offers several advantages: Using Ultralytics YOLO11 for object counting in regions offers several advantages:
- **Precision and Accuracy:** Minimizes errors often seen in manual counting. - **Precision and Accuracy:** Minimizes errors often seen in manual counting.
- **Efficiency Improvement:** Provides real-time results and streamlines processes. - **Efficiency Improvement:** Provides real-time results and streamlines processes.
@ -129,13 +129,9 @@ Using Ultralytics YOLOv8 for object counting in regions offers several advantage
Explore deeper benefits in the [Advantages](#advantages-of-object-counting-in-regions) section. Explore deeper benefits in the [Advantages](#advantages-of-object-counting-in-regions) section.
### Can the defined regions be adjusted during video playback?
Yes, with Ultralytics YOLOv8, regions can be interactively moved during video playback. Simply click and drag with the left mouse button to reposition the region. This feature enhances flexibility for dynamic environments. Learn more in the tip section for [movable regions](https://github.com/ultralytics/ultralytics/blob/33cdaa5782efb2bc2b5ede945771ba647882830d/examples/YOLOv8-Region-Counter/yolov8_region_counter.py#L39).
### What are some real-world applications of object counting in regions? ### What are some real-world applications of object counting in regions?
Object counting with Ultralytics YOLOv8 can be applied to numerous real-world scenarios: Object counting with Ultralytics YOLO11 can be applied to numerous real-world scenarios:
- **Retail:** Counting people for foot traffic analysis. - **Retail:** Counting people for foot traffic analysis.
- **Market Streets:** Crowd density management. - **Market Streets:** Crowd density management.