This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
Just a best practice recommendation #378
OmkarShidore
started this conversation in
General
Replies: 1 comment 3 replies
-
That's exactly how you do it.
That would require to have such filters (in form of high-performance CUDA kernels) at your disposal. Some of them may be implemented with the help of NPP library. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, Thanks for making this framework available.
I wanted to know how to apply filters on the decoded frame before encoding it.
Input Frame (webCam) -> PyFrameUploader(on GPU) -> Apply some filters here -> nvEnc.EncodeSingleSurface
I wanted to apply multiple filters like RGB-HSV, guassian blur, histogram equalization. What would be the best practice for such operation, once the frame is on device. I don't want to move it back to the host.
PS: I've tried torch.cuda.tensor conversion and and applying filters in torchvision there. but those filters are very very slow.
Need a throughput of 4k 60 FPS.
Beta Was this translation helpful? Give feedback.
All reactions