Skip to content
프로젝트

소개

Traffic Monitor built with edge ML for object detection and radar for speed monitoring

AI 및 머신러닝

이 수치를 측정하는 방법

What you can do

  • 🧮 Reporting roadway utilization - counting cars 🚗, bicycles 🚲, pedestrians 🚶, and more! 🐕🐈🏍️🚜
  • 🚨 Capturing roadway users' speeds - measuring speeds, capturing image and video of event.
  • 📷 Privacy-focused, local inferencing (no cloud required) only collects and sends data you specify.
  • 🐘 Permanent, long-term deployment on roadways to monitor roadway usage.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Traffic Monitor

GitHub Release GitHub License Static Badge

TrafficMonitor.ai, the Traffic Monitor, is an open source smart city traffic monitoring software built with commodity hardware to capture holistic roadway usage. Utilizing edge machine learning object detection and Doppler radar, it counts pedestrians, bicycles, and cars and measures vehicle speeds.

Traffic Monitor Roadway Graphic

Highlights and capabilities

  • 🧮 Reporting roadway utilization - counting cars 🚗, bicycles 🚲, pedestrians 🚶, and more! 🐕🐈🏍️🚜
  • 🚨 Capturing roadway users' speeds - measuring speeds, capturing image and video of event.
  • 📷 Privacy-focused, local inferencing (no cloud required) only collects and sends data you specify.
  • 🐘 Permanent, long-term deployment on roadways to monitor roadway usage.
  • 🐜 Temporary, remote deployments utilizing the low-power footprint and batteries.
  • 💡 Extensible with any Raspberry Pi-compatible senosrs and components; e.g. Air Quality sensor for analog gas: RED, OX, NH3, noise, light, proximity, temperature, pressure, humidty and Particulate Matter (PM 5, 2.5, 1).

Documentation 📚

Visit our official documentation at docs.trafficmonitor.ai for an introduction, recommended hardware, deployment and mounting guide, setup guide, configuration, data payloads, and more.

Build your own device (DIY) 🧑‍🔬

Getting Started

See the Getting Started docs for full walkthrough.

Hardware Components

The Traffic Monitor is designed on the Raspberry Pi 5 and a variety of commodity hardware to keep it accessible, low-cost, upgradable, and repairable. See Recommended Hardware docs for more information.

Software Installation

  1. Install Raspberry Pi OS 64-bit Lite with RPi Imager
  2. Connect to your device via SSH and Install the TM Software.
    1. sudo apt update && sudo apt install -y git
    2. git clone https://github.com/glossyio/traffic-monitor
    3. bash traffic-monitor/script/tmsetup.sh
  3. Deploy and mount your TM
  4. Set up zones, location, and enable sensors
  5. Start capturing roadway usage data!

Configuration ✅

See Setup Guide.

User Interfaces (UI) / port numbers references 🖥️

  • http://<device_ip_address>:1880/ui is the Node-RED dashboard and your primary device dashboard, use it to ensure it is capturing events, see the latest events, and see summarized stats.
  • http://<device_ip_address>:5000 to view the Frigate interface and make any configuration changes specific to your deployment
  • http://<device_ip_address>:1984 shows the go2rtc configured camera settings on the Raspberri Pi. Use this if your cameras are giving errors in Frigate.
  • http://<device_ip_address>:1880 is the Node-RED flow editor used to develop the logic to connect events to speeds, create event records, capture radar readings, and more. This is primarily used by developers. The default admin login is admin/password.

Troubleshooting ⚠️

No events are being captured? Review the Setup Guide to ensure the zones are properly set up and the camera is enabled and detecting:

  • In Frigate > Settings> Configuration Editor:
    • Enable camera(s) (cameras --> enabled: true)
    • Enable detection (detect --> enabled: true)
  • In Node-RED:
    • Enable camera(s) (sensors --> cameras --> your_cam_name --> enabled: true)

If you are having detection issues, review the Frigate Camera Setup documentation.

Screenshots

Device dashboard available at http://<device_ip_address>:1880/ui.

Cumulative events by object for the day (resets daily). events-counts-daily

Last 5 events detected and confirmed by radar. events-zone_radar-last5

Car object speed statistics for the day (resets daily). event-car-speed-stats-daily

Hourly events count by object for the last 24-hours. events-hourly-24-hours

Daily events count by object for the last 10-days. events-daily-10-day

Dashboard sample, using the granular backend data dashboard-sample

Air Quality sample air-quality-sample

관련 프로젝트 살펴보기

불러오는 중…