SynthText
SynthText copied to clipboard
Text visibility on image
Hi @ankush-me ,
when I load other photos from Synthtext dataset, on some images color of text is similar to background (see on top of the image).
What I need to change?
And one more question: Can script generate text shape something like this (snake shape text):
For text contrast check here and here.
There's support for a single semicircle here, but not for a 'snake' shape as shown.
邮件已收到,谢谢。。。I have received your email. Thank you.
@ankush-me
IM_TOP and IM_BACK , is that background image and text instance?? In poisson_reconstruct.py
There says: combine images using poission editing. IM_TOP and IM_BACK should be of the same size.
But what images script combines?
@ankush-me
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?
Poisson blending is based on the code here: http://web.media.mit.edu/~raskar/photo/code.pdf May be check there for comments to understand it better.