Adds support in augmentation for keypoints
See original GitHub issueShort Description
I am interested to use RandAugment for object detection with keypoints. Instead of re-doing everything on my own, I would like to add support for keypoints in the augmentation present in this repo.
Papers
None I know off
Existing Implementations
Already have some PR
Other Information
I would propose to:
- Add
BaseImageAugmentationLayer.augment_keypoints(self,keypoints,transformation,**kwargs)
method - Modify
BaseImageAugmentationLayer._augment()
to augment keypoints if passed as a dict. - Modify
BaseImageAugmentationLayer.get_random_transformation()
to accept keypoints as an argument - Makes sures all augmentations in RandAugment do implement
augment_keypoints
andaugment_bounding_boxes
. This will require to re-implement by compositonRandomContrast
,RandomBrightness
,RandomTranslation
Issue Analytics
- State:
- Created a year ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Keypoints augmentation - Albumentations Documentation
You pass an image and keypoints to the augmentation pipeline and receive augmented images and ... Some transforms in Albumentation don't support keypoints....
Read more >Facial Keypoints Detection: Image and Keypoints Augmentation
First, we do some augmentation where keypoints are not really affected by them. Using Imgaug library, we will add Gaussian Blurring and ...
Read more >add keypoints-augmentation benchmark · Issue #554 - GitHub
As you support keypoints augmentations as well, I think you are missing a benchmark on that type of data specifically. imgaug for example, ......
Read more >Data augmentation for facial keypoint detection - Yumi's Blog
Data augmentation is an essential technique to utilize limited amount of training images. In my previous blog post, I have seen poor performance ......
Read more >imgaug.augmentables.kps - Read the Docs
x (number) – Coordinate of the keypoint on the x axis. ... Added in 0.4.0. ... augmenting keypoints with a method that only...
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
Following the discussion in #519, here are the tasks to perform in single PR from atuleu/keras-cv@dev/keypoints:
@innat
So there was no
augment_bounding_box()
forRandomShear
( I added it here aa4a178a60bbdccfb9c4881409a652363c51e45b ). There was last week someaugment_bounding_box()
forRandomRotation
, but no clipping.@LukeWood I think we should go for a reduced amount of format of ‘xy’ and ‘rel_xy’. Then if more format are needed, they could always be added afterwards. Should I go forward and add this to #519 ?