object_detection_projects icon indicating copy to clipboard operation
object_detection_projects copied to clipboard

[number of seconds to group by]

Open YYYYWD opened this issue 6 years ago • 8 comments

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 ?

YYYYWD avatar Apr 11 '18 08:04 YYYYWD

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.

creotiv avatar Apr 11 '18 09:04 creotiv

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

YYYYWD avatar Apr 11 '18 16:04 YYYYWD

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.)

creotiv avatar Apr 11 '18 16:04 creotiv

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?

YYYYWD avatar Apr 11 '18 16:04 YYYYWD

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

creotiv avatar Apr 11 '18 17:04 creotiv

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 avatar Apr 11 '18 17:04 YYYYWD

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?

YYYYWD avatar Apr 12 '18 07:04 YYYYWD

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

zubairahmed-ai avatar May 23 '18 19:05 zubairahmed-ai