We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, once I set the transform, how can it be applied to a video frame ?
transform = cvtransforms.Compose([ cvtransforms.TenCrop((224)), cvtransforms.Resize(size=(-1, 256)])
What is the next step to apply it to the frame ?
The text was updated successfully, but these errors were encountered:
Hi, once I set the transform, how can it be applied to a video frame ? transform = cvtransforms.Compose([ cvtransforms.TenCrop((224)), cvtransforms.Resize(size=(-1, 256)]) What is the next step to apply it to the frame ?
You can firstly load a single video frame with cv2 as a numpy array with the shape (H,W, 3) ,and then apply the transform to the array as the examples of official tutorials(https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html).
Sorry, something went wrong.
No branches or pull requests
Hi, once I set the transform, how can it be applied to a video frame ?
What is the next step to apply it to the frame ?
The text was updated successfully, but these errors were encountered: