Skip to content
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

Cloud Effect on Image #11807

Closed
1 task done
SJavad opened this issue Jul 4, 2023 · 1 comment
Closed
1 task done

Cloud Effect on Image #11807

SJavad opened this issue Jul 4, 2023 · 1 comment
Labels
question Further information is requested

Comments

@SJavad
Copy link

SJavad commented Jul 4, 2023

Search before asking

Question

Hi 🖐
I want to add some cloud effect to an image for augmentation
Do you know how I can do that?
I Have many images that want to add some cloud effect to it in different scales.
like this:
IMAGE-1
IMAGE-2

Additional

No response

@SJavad SJavad added the question Further information is requested label Jul 4, 2023
@glenn-jocher
Copy link
Member

@SJavad hi there,

Thank you for reaching out with your question. Adding cloud effects to images for augmentation can be done using various image processing techniques. One approach is to overlay cloud textures onto the original image.

Here's a general outline of the process:

  1. Load the original image and the cloud texture image.
  2. Resize the cloud texture image to your desired scale.
  3. Randomly select a position on the original image to place the cloud texture.
  4. Blend the original image and the cloud texture using alpha blending or another blending technique.
  5. Save the augmented image.

You can achieve this using popular image processing libraries such as OpenCV or PIL (Python Imaging Library). These libraries provide functions to load, resize, blend, and save images.

Please note that the implementation details may vary depending on the specific library and programming language you are using.

I hope this helps you get started with adding cloud effects to your images! If you have any further questions, feel free to ask.

Best regards.

@SJavad SJavad closed this as completed Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants