lddl / rust-road-traffic Goto Github PK
View Code? Open in Web Editor NEWVehicle counting/tracking and speed estimation
Vehicle counting/tracking and speed estimation
Is your feature request related to a problem? Please describe.
Consider REST side for this application.
Server should response with something like this:
{
"data": [
{
"polygon_id": "UUID_v4",
"period_start": "UnixTimestampUTC",
"period_end": "UnixTimestampUTC",
"statistics": [
{
"vehicle_type": "car",
"sum_intensity": 100500,
"avg_speed": 45.15
},
{
"vehicle_type": "truck",
"sum_intensity": 200600,
"avg_speed": 53.12
}
]
}
]
}
Describe the solution you'd like and provide pseudocode examples if you can
Take actix and implement REST side
Describe alternatives you've considered and provide pseudocode examples if you can
nope
Additional context
Is your feature request related to a problem? Please describe.
Headway is the time that elapses between the arrival of the first vehicle (leading) and the second vehicle (following) at the specific point.
Describe the solution you'd like and provide pseudocode examples if you can
When some virtual line registered vehicle for the first time then register the timestamp. Then subsequently record timestamps differences and calculate average headway
It is needed to reconsider output JSON structure for REST API and Redis publisher
Additional context
neighbors
, not leader-follower
) therefore calculation could lead to incorrect results interpretationIs your feature request related to a problem? Please describe.
Statistics is measured by all types of vehicle currently.
Would be great to have detalied information for certain type of vehicle ("car", "motorbike", "bus", "train", "truck")
Describe the solution you'd like and provide pseudocode examples if you can
Add hashmap to polygon to store following data ('vehicle_type_1': {avg_speed: value, sum_intensity: value}, 'vehicle_type_2'....)
Describe alternatives you've considered and provide pseudocode examples if you can
nope
Additional context
nope
Is your feature request related to a problem? Please describe.
Currently only aggregated statistics could be exported to Redis.
I'd like to see a optional export of detection events in such form:
{
"event_id": some unique ID (e.g. UUID v4),
"event_time": UnixTimestamp or RFC3339 o ISO8601
"class_id": ID of class (or may be label? Need to investigate common needs)
"bbox": bounding box corresponding to real image size
"speed": estimated speed
"control_zone": ID of control zone or just rectangle or all zone parameters?
"virtual_line": Parameters of virtual line (#16)?
"track": Set of points corresponding to real image coordinates before image resizing (same as bbox)
"timestamps": UnixTimestamps correspondings to set of points in track
}
Additional context
Before implementation need to deeply consider event data.
Should we just register only crossing zone events (so filter any random detection) or any object detection (probably overkill)?
Is your feature request related to a problem? Please describe.
Most of time it is time consuming to install all dependencies to the operation system. I think we need Docker container
Describe the solution you'd like and provide pseudocode examples if you can
I see three possible container currently:
Additional context
I am not that Docker guy, so I'll work on this when I've free time
Hey there,
First off, hats off for creating such a fantastic product! ๐
Just a couple of thoughts:
Any chance we could see support for newer Yolo versions or importing onnx files?
How about integrating Hough lines detection to save us from manually drawing those boxes?
Is your feature request related to a problem? Please describe.
There are two Kalman filter's implementations currently.
I guess it could lead to some misunderstandings what is actually used for blob tracking.
Describe the solution you'd like and provide pseudocode examples if you can
Drop redundant and unnecessary code from kalman
subdirectory
Additional context
I guess we should keep custom KF implementation via nalgebra
and drop OpenCV's one.
Is your feature request related to a problem? Please describe.
Whould be cool to have ability to publish statistics data to Redis
Describe the solution you'd like and provide pseudocode examples if you can
*, Initialize redis publish channel in application startup (and do authentification if needed)
Describe alternatives you've considered and provide pseudocode examples if you can
nope
Additional context
Do not forget to add option to *.toml configuration file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.