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

How could I run the repo on a video and see the result? #7

Open
munaiyi719 opened this issue Jan 9, 2023 · 4 comments
Open

How could I run the repo on a video and see the result? #7

munaiyi719 opened this issue Jan 9, 2023 · 4 comments

Comments

@munaiyi719
Copy link

How could I run the repo on a video and see the result?
I want to test a video like https://www.bilibili.com/video/BV1cY411H7hr/.

@taohan10200
Copy link
Owner

We provide the demo_code in this repo, which includes how to fragment a video to frames and then inference on those frames. After that, you can reorgnized the predicted results to a video like the demo you referenced.

Hope this reply can help you!

@munaiyi719
Copy link
Author

I run video2img.py and run test_beijng.py. However I find that there is no Video_Crowd_Counting in model.VIC.

@munaiyi719
Copy link
Author

After I transform video to imgs, what need I do next?

@taohan10200
Copy link
Owner

taohan10200 commented Jan 10, 2023

Please change the counter name to Video_Individual_Counter. After obtaining the imgs, you should modify the dir name in
test_CroHD.py and then perform inference.

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