Coder Social home page Coder Social logo

Comments (9)

ankush-me avatar ankush-me commented on July 24, 2024 2

This happens for some fonts when they are "underlined" -- this increases the glyph height as the "underline" position is set at the lowest point, e.g., below the end of p. This problem should go away if you don't use the underlined glyphs.

from synthtext.

cjnolet avatar cjnolet commented on July 24, 2024 1

I got it! Looking @ the feathered mask. Perfect, Ankush. Thanks again!

from synthtext.

cjnolet avatar cjnolet commented on July 24, 2024

from synthtext.

ankush-me avatar ankush-me commented on July 24, 2024

Not sure then. Do you know if this is a problem with specific fonts?

from synthtext.

cjnolet avatar cjnolet commented on July 24, 2024

from synthtext.

ankush-me avatar ankush-me commented on July 24, 2024

You can get these masks here (place_masks), and here (collision_mask).

from synthtext.

cjnolet avatar cjnolet commented on July 24, 2024

Ah so this is actually a binary mask of the text drawn on the image? That's exactlyw hat I need is basically like a layer with only text (after it's been warped) so that I can determine which cells (32x32 grid, just like your FCRN implementation) actually contain text.

from synthtext.

codecolony avatar codecolony commented on July 24, 2024

@cjnolet @ankush-me

Facing the same bounding box height issues for few of the text boxes. Pretty mysterious. I'm trying to debug the whole thing to zero in on the issue. Meanwhile, the cause is already known to anyone?

from synthtext.

crazysal avatar crazysal commented on July 24, 2024

@cjnolet I have a similar use case, please advise :

  1. elaborate on how to extract binary masks, can I generate them per character or per word.
  2. How to find absolute center point per bbox
  3. How to calculate width per char, can it be equal to width of char level bbox ?

from synthtext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.