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 to resize the input video stream in deepstream-app? #26

Closed
srikar242 opened this issue Jan 27, 2021 · 3 comments
Closed

How to resize the input video stream in deepstream-app? #26

srikar242 opened this issue Jan 27, 2021 · 3 comments

Comments

@srikar242
Copy link

Hello @marcoslucianops . I have followed your repo and able to run yolov4-tiny model in deepstream. Now I want to run a video with a framesize of 2464X1440 in deepstream. I am getting a log that deepstream at max supports resolution of 2048X2048. So I want to resize my original input video framesize to less than 2048X2048. So how to do this resizing and where to add this? Your help would be appreciated.

@marcoslucianops
Copy link
Owner

Do you want to resize the yolo network, muxer or display?

@srikar242
Copy link
Author

@marcoslucianops I think I have to resize muxer. I just want to resize the input frames that I am feeding into deepstream-app for inference.

@marcoslucianops
Copy link
Owner

@marcoslucianops I think I have to resize muxer. I just want to resize the input frames that I am feeding into deepstream-app for inference.

Resize yolo network: change width and height in yolo.cfg to your values. It needs be square to use in deepstream, example: 2048x2048.

Resize muxer: change width and height in deepstream_app_config.txt in [streammux] section. It can be any value, not need to be square like yolo.cfg.

For better accuracy, you need to change the yolo network, but it will decrease the fps a lot according to the resolution.

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