GithubHelp home page GithubHelp logo

app_traffic_detector's Introduction

End-To-End Smart Traffic Detection System​ - Selective object detection for automotive

Interactive camera application for selective object detection. Real-time object counting is available in user-defined areas of the video image. The application can differentiate between vehicles such as trucks, cars, buses, and motorcycles.

Users can interact with the live video and select areas of interest. Object detection and counting will be isolated to the detection zones specified by the user. Multiple areas can be defined, and the number of objects will be displayed for each zone.

Hardware

The Revis box is an End-to-End solution that can be configured for your needs. This means that even though parts can be exchanged, we provide a turnkey solution. While we rely on NVIDIA devices, the camera itself can be selected depending on the use case. This has several advantages such as extending existing cameras with AI functionality or selecting a special camera, for instance, night vision.

Use on your camera

To use the app on your own devices:

  1. Register an NVIDIA Jetson PC in your device swarm on this platform
  2. Plug any USB-Cameras into your device
  3. Access your device in the swarm and install this app on it

To create a multi camera setup, just repeat the steps above with as many devices as you like.

The detection data of all cameras in your swarm will be available in the app dashboard.

Dashboarding Insights

This app provides a dashboard summarizing detection data from all swarm cameras into a common view. Collected data histories, such as the number of detected objects per class and the current video frame, will be displayed in the dashboard. The history of detections is persisted, providing a summary in different graphs.

The detection data history is collected in the cloud storage backend of the app. Each swarm automatically uses its own private cloud data storage. This ensures that the app dashboard in a swarm can only access and show the data of that swarm. This is how client data separation is reliably and securely enforced.

The video snapshot that is shown in the dashboard is recorded historically with only one frame per second while the live stream (see below) has a higher frame rate and lower latency.

Live footage from the edge

The app additionally provides a web interface on each individual camera that allows users to view the low latency live video stream from that camera. This interface also allows users to configure the video and detection model for the camera.

App Parameters

Each camera can also be configured by external parameters in the app settings on the device. These settings can be given on device or group level for the whole swarm at the same time.

Parameter Default Description
Model Yolov8s Select a version for one of the YOLO Object Detection Models
Detection Classes 0,2,3,5,7 A list of class ids from the COCO dataset. If left empty, then all classes are used. See here
Confidence 0.1 (0 - 1) Sets the minimum confidence threshold for detections. Objects detected with confidence below this threshold will be disregarded. Adjusting this value can help reduce false positives.
Intersection over Union 0.7 (0 - 1) Intersection Over Union (IoU) threshold for Non-Maximum Suppression (NMS). Lower values result in fewer detections by eliminating overlapping boxes, useful for reducing duplicates.
Width 1280 Horizontal Resolution in pixel of the camera stream. The camera should support the selected resolution.
Height 720 Vertical Resolution in pixel of the camera stream. The camera should support the selected resolution.

Requirements

This app can currently only be used NVIDIA Jetson systems.

Any USB or IP camera connected to the Nvidia PC can be used with the app.

app_traffic_detector's People

Contributors

dewitteruben avatar contis2908 avatar markope avatar

Watchers

 avatar  avatar

app_traffic_detector's Issues

beautify the frontend for the traffic detector

To develop on the frontend it might be easier to check this repo out on your laptop.

Improvements for

  • web frontend of the app itself
  • dashboard of the app as well
  • readme of the app
  • icon of the app

The goal ist to have something really good looking for social postings.

Add alarm triggers for each detection zone

Each zone gets an input field in the frontend to setup a threshhold.
When the count value of the zone exceeds the threshold then an email will be sent to a specified address.
(We will be using our own mailgun api key)

Value:
With this feature it is possible to send alarms when a car is parked in a no parking area.
Or when parking spots are free.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.