facebookresearch / facebookresearch/AugLy

Feature Request: Add Lens/Radial Distortions

Open
#111 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
5.1k
Forks
312
PR merge metrics
No merged PRs in 30d

Description

## 🚀 Feature
Thank you for his great package. It would be nice to add lens [distortion](https://en.wikipedia.org/wiki/Distortion_(optics)) to image transforms.

## Motivation

In image augmentation, lens distortion can sometimes be valuable. Spesifically, two separate classes can be added to `image.transforms` for pincushion and barrel distortions.

![image](https://user-images.githubusercontent.com/46989091/131032463-9503513b-5487-44bf-a078-1be77fd7de31.png)

Contributor guide

Open the contributing guide

Research direction

Start by reading the image.transforms entry point and the linked optics distortion reference to understand the requested transformation. Done means image.transforms exposes separate pincushion and barrel distortion classes with behavior matching the illustrated request; the issue does not name tests or specific files.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.