pyaota.image.blend module¶
- pyaota.image.blend.blend_images(img1_path, img2_path, alpha=0.5, output_path=None)[source]¶
Blend two images with alpha transparency to see through the top one.
Parameters:¶
- img1_pathstr
Path to first image
- img2_pathstr
Path to second image
- alphafloat, optional
Transparency of first image (0-1, default 0.5)
- output_pathstr, optional
Path to save result. If None, displays instead.
Returns:¶
: overlay : numpy.ndarray
Blended image