---
title: solutions.region_counter API Reference
description: Explore the Ultralytics Region Counter for real-time video streams. Learn to define regions, track objects, and count activity per zone.
keywords: Ultralytics, Region Counter, Real-time Tracking, Video Stream, Python, Object Detection
---

# Reference for `ultralytics/solutions/region_counter.py`

!!! success "Improvements"

    This page is sourced from [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/solutions/region_counter.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/solutions/region_counter.py). Have an improvement or example to add? Open a [Pull Request](https://docs.ultralytics.com/help/contributing) — thank you! 🙏

<br>

## ::: ultralytics.solutions.region_counter.RegionCounter

<br><br>
