-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Can I do keypoint occlusion with this library? #488
Comments
I don't think what you want is part of the library. There is no occlusion flag associated with keypoints. There is also not yet an augmenter that pastes arbitrary images onto training images. |
OK. Does this library support random erasing on a small image patch? |
Also when I rotate or zoom the image, some of the keypoints will likely be outside the image, how do you deal with this problem for training a coordinate regression model? Do I need to just check the x and y if it's outside the image before calculating heatmap? |
The library has CoarseDropout to remove larger sub-areas. Note though that the augmenter currently does not remove keypoints within these dropped areas. Depending on their size that may be desirable (small dropped areas) or undesirable (large dropped areas). To remove keypoints you currently have to check manually the xy-coordinates. PR #487 will add |
OK. This explanation clears my issue. Thank you! |
Suppose that I want to randomly put another image on top of the training image, or some synthetic erasing, the library has to tell me which points are occluded.
For example, if I have an image of a face with some keypoints, I want to put a finger image with transparent background on top of some of the keypoints (randomly), is this something achievable with this library?
The text was updated successfully, but these errors were encountered: