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

Not working in video with 1920 x 1080 #56

Closed
rameedev opened this issue Aug 16, 2019 · 4 comments
Closed

Not working in video with 1920 x 1080 #56

rameedev opened this issue Aug 16, 2019 · 4 comments

Comments

@rameedev
Copy link

Tried the code with a traffic video of resolution 1920 x 1080. I modified the below code

  1. vehicle_counting.py -- changed variable 'roi' to desired.

  2. object_counting_api.py -- changed code in lines in 199 and 202 to hardcode the roi values.

Let me know if anything additional is to be done and if you need the video file.

@ahmetozlu
Copy link
Owner

What is the issue? Can you share the screenshot, please?

@rameedev
Copy link
Author

I am attaching the screenshot and in the screenshot you can see the vehicle count stays 0 even when the cars are crossing the roi line. From object classification stand point it does a fair job of distinguishing car,bus person etc.

Vehicle_Count

@rameedev
Copy link
Author

I forgot to mention i am using the repository object counting repo for this -- https://github.com/ahmetozlu/tensorflow_object_counting_api

Also I have uploaded the original video to my drive.

https://drive.google.com/file/d/1Y0KQVYFt_3IbF9ZwHH8wy_FJOO7yDs6J/view?usp=sharing

@ahmetozlu
Copy link
Owner

Please check the 3rd answer in here: ahmetozlu/tensorflow_object_counting_api#12 (comment)

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

2 participants