CyberAgentAILab / derendering-text

Other
76 stars 8 forks source link

Bug: The bbox of the character only encloses the foreground area of text #8

Closed LIYHUI closed 2 years ago

LIYHUI commented 2 years ago
image

As you can see, the shadow of 'he said' is out of bbox. Can you slove this bug?

LIYHUI commented 2 years ago

@shimoda-uec Can you solve this bug?

shimoda-uec commented 2 years ago

Thank you for reporting this error. I consider there should be some options for box information of texts having effects, including shadow. I will add a function for the generating system that gives box information for each effect.

shimoda-uec commented 2 years ago

I implemented a function for generating box information for effects including shadow alpha maps. We can access the information by replacing the key "wordBB" with "effect_merged_alphaBB". The detail is in link.

LIYHUI commented 2 years ago

Thanks, it's a great job!

LIYHUI commented 2 years ago

I will try it later.