Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[number of seconds to group by] #7

Open
YYYYWD opened this issue Apr 11, 2018 · 8 comments
Open

[number of seconds to group by] #7

YYYYWD opened this issue Apr 11, 2018 · 8 comments

Comments

@YYYYWD
Copy link

YYYYWD commented Apr 11, 2018

I don't know what is the mean of " [number of seconds to group by] "

how can i do if i want to python plot.py ?

@creotiv
Copy link
Owner

creotiv commented Apr 11, 2018

that's my bad english) Should be [number of seconds to aggregate by]
It's just saying width in seconds of window which will be aggregated in one value.

@YYYYWD
Copy link
Author

YYYYWD commented Apr 11, 2018

OK fine.
But I find some problems.
This is your the past code
image

I don‘t know how to find these 'car' and 'bus'. Because your the test video of 'report.csv' just has
h1 r4 q 0cel i5d fs 7va

So I have to change the code
0fd l5qa6 v2h6 e8mx7m

Could you tell me how I should do that?


And If I change the Green shade's position ranges.What should I do?

q60 vh0vlmh1 h 2 7fl8n3

@creotiv
Copy link
Owner

creotiv commented Apr 11, 2018

yes, because stats has only vehicles and not type classification, you need to change plot to use stats that you have. You did it.

Green area is an exit zone, where cars counting happens. To change them, you need to change
EXIT_PTS variable in the traffic.py. it just (x,y) points that are creating poligon(it can be more then 4 to create any figure you need.)

@YYYYWD
Copy link
Author

YYYYWD commented Apr 11, 2018

OK, thank you very much!
If I want to identify other car models, do I still need to train classifiers myself? I have data set of MATLAB, so how can I apply it to it?

@creotiv
Copy link
Owner

creotiv commented Apr 11, 2018

Better use pretrained models first like YOLO3 or SSD, if they work, then just use them.

@YYYYWD
Copy link
Author

YYYYWD commented Apr 11, 2018

Yes,my data is from the YOLO. And I have an idea. I want to judge the abnormal behavior of the vehicle.I want to base on the trajectory of the vehicle.If I can use your code's 'path' to do that.Or do you have any better Suggestions?

@YYYYWD
Copy link
Author

YYYYWD commented Apr 12, 2018

I have a new question. I used my own test video, which changed the export area. But it was found that only two cars could be detected at any one time. If there are three cars left, they can't be detected. What do I need to change?

@zubairahmed-ai
Copy link

Facing the same issue
KeyError: 'car'

If you are recommending to use your own video then please also change the code to remove this key and use the generic 'vehicles' key as you suggested above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants