[Feat] torch implementation of opencv drawing functions
See original GitHub issue🚀 Feature
I would like to have an equivalent of the opencv drawing functions implemented in torch. The reason for that is simply that I do not want to detach all tensors and iterate over the batch to apply some visualisation.
Motivation
I want to the able to just apply the same opencv functionality to torch tensors as I normally do to 2d images.
Pitch
Just sit down and implement those functions under kornia.cv2.drawing
. I could get started with the simple ones, (if desired) and make a PR.
Alternatives
Haven’t found any, yet.
Additional context
https://docs.opencv.org/2.4/modules/core/doc/drawing_functions.html
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
Drawing Functions in OpenCV
Learn to draw different geometric shapes with OpenCV · You will learn these functions : cv.line(), cv.circle() , cv.rectangle(), cv.ellipse(), cv.putText() etc.
Read more >Drawing with OpenCV - PyImageSearch
In this tutorial, you will learn how to use OpenCV's basic drawing functions. You will learn how to use OpenCV to draw lines,...
Read more >Deep Convolutional GAN in PyTorch and TensorFlow
Learn the theoretical concepts of Deep Convolutional GAN. Code DCGAN in both PyTorch and TensorFlow frameworks on Anime Faces Dataset.
Read more >A Modern Library for 3D Data Processing - Open3D
New 3D machine learning models and datasets, featuring PointRCNN for 3D object detection, SparseConvNets for point cloud semantic segmentation, and support for ...
Read more >python - How do I draw a filled rectangle using OpenCV's ...
I'm very new to OpenCV, hence I cannot really understand which function to use to draw a filled rectangle instead of a bounding...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@edgarriba yes, N boxes per batch. As for in place or not, I don’t have a strong opinion on that but I believe that since the intention for now is to not use it for backprop we can do it in that way.
closing and continue here https://github.com/kornia/kornia/issues/936