ankush-me / ankush-me/SynthText
Alpha blending for better text visibility
- Dominant language
- Python
- Stars
- 2.1k
- Forks
- 624
- PR merge metrics
- No merged PRs in 30d
Description
Hello @ankush-me,
In `poisson_reconstruct.py` is the:
IM_TOP -> text instance
IM_BACK -> background image
There says:
```
combine images using poission editing.
IM_TOP and IM_BACK should be of the same size.
```
But what images script combines?
Also in the `poisson_reconstruct.py` what is these `gxs,gys,gxd,gyd`? This is X and Y coordinates of something?
```
[gxs,gys] = get_grads(ims)
[gxd,gyd] = get_grads(imd)
```
Is the alpha blend done here?
```
elif mode=='blend': # from recursive call:
# just do an alpha blend
gx = gxs+gxd
gy = gys+gyd
```
When I replace '`blend`' instead 'max' in function` blit_images()`, nothing happens?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.