Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get bad scaling issues #328

Open
SumanthAmpcus opened this issue Jun 26, 2019 · 2 comments
Open

I get bad scaling issues #328

SumanthAmpcus opened this issue Jun 26, 2019 · 2 comments

Comments

@SumanthAmpcus
Copy link

I receive the following error all the time.

bad scale (nan); skipping
This is not an issue. I am not able to figure out how to set the scaling parameter for the image.In your code it says the scaling has to be 12.0.

Following are my images . For my application , usually the image input will be of this size.
Raleway-Black-Black-Image-3
Walkway_Oblique_Black-Black-Image-5
Raleway-Black-Black-Image-5
Raleway-Black-Black-Image-4

Please point me in the direction how to resolve this issue.

@zuphilip
Copy link
Collaborator

Can you please give some more information:

  • What exactly are you trying to do?
  • What is your environment?
  • What are steps to reproduce the problem?

@amitdo
Copy link
Contributor

amitdo commented Jun 28, 2019

I am not able to figure out how to set the scaling parameter for the image.In your code

run ocropus-gpageseg with --minscale 14.0

14.0 is just an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants