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

Inaccurate count #45

Open
ShaoDu opened this issue Aug 16, 2019 · 12 comments
Open

Inaccurate count #45

ShaoDu opened this issue Aug 16, 2019 · 12 comments

Comments

@ShaoDu
Copy link

ShaoDu commented Aug 16, 2019

When I run vehicle_counting. py,so I would like to ask where in the code the range of counts changes and I found that the pedestrian count was accurate and the car count was not.
In addition, I would like to ask what is the benchmark for counting cars through the line, and how can I achieve count=1? I feel that there is something wrong with the benchmark of this range

@ahmetozlu
Copy link
Owner

The vehicle_counting.py fixed, can you try again to run?

"In addition, I would like to ask what is the benchmark for counting cars through the line, and how can I achieve count=1? I feel that there is something wrong with the benchmark of this range" -> What do you mean? Can you specify it more, please?

@ShaoDu
Copy link
Author

ShaoDu commented Aug 16, 2019

@ahmetozlu I found the output video: the count is 3 when a car passes, which is not accurate, so I would like to ask how to modify the counting area,and hit the second car past time to become 5
I noticed that there was a purple box marked "surfboard" when the car passed. I don't know what it means. Is it the designated area of interest when the car passes

@ahmetozlu
Copy link
Owner

#44 (comment)

@ShaoDu
Copy link
Author

ShaoDu commented Aug 16, 2019

@ahmetozlu Thank you. I just tried to change deviation and it has some effect. I will change the model later
In addition, I would like to ask how the count is counted. I did not understand the code. My understanding is that when the car passes, the ROI line turns green and count plus one. Because the next frame may also be when a car passes, and these two adjacent frames are when a car passes, how do you determine that it's the same car

@ahmetozlu
Copy link
Owner

ahmetozlu commented Aug 17, 2019

This is a great question, thanks: "Because the next frame may also be when a car passes, and these two adjacent frames are when a car passes, how do you determine that it's the same car"

My answer: The current version tensorflow_object_counting_api can not understand that is same car/object or a different car/object because it has not a tracker system yet. However, I almost finalize the "multiple object tracker module", which is a Kalman Filter based multiple object tracker implementation, and after I integrate it to the tensorflow_object_counting_api then API will be able identify/track multiple objects and it will not count the same object more than 1.

@ShaoDu
Copy link
Author

ShaoDu commented Aug 17, 2019

@ahmetozlu Thank you for your reply.
I would like to know how to mark the car as completely passed or start to pass the kalman filter principle marked as 1 when it passes the ROI line. Do you have any related papers for this project? Because the code I do not quite understand why you have set (top+bottom)/ 2-roi

@vanilla000
Copy link

one car is calculated many times

@ShaoDu
Copy link
Author

ShaoDu commented Sep 8, 2019

@vanilla000 yeah,Have you figured out how to solve the problem

@Hey-Jobs
Copy link

me too,If someone stands nearby the roi line, there will be a lot of count, and this problem will be even more serious if it is counted through webcam or ipcamera

@ShaoDu
Copy link
Author

ShaoDu commented Sep 14, 2019

@cranehovers yeah,Have you figured out how to solve the problem

@Hey-Jobs
Copy link

@cranehovers yeah,Have you figured out how to solve the problem

I think we can solve this problem through multiple object tracking (MOT),and i'm trying it

@ShaoDu
Copy link
Author

ShaoDu commented Sep 15, 2019

@cranehovers I'm doing it, too. Can you tell me if it works

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

4 participants