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

Ymax value not valid (Ymax < Ymin) #3

Closed
hoangminhq5310 opened this issue Sep 11, 2020 · 2 comments
Closed

Ymax value not valid (Ymax < Ymin) #3

hoangminhq5310 opened this issue Sep 11, 2020 · 2 comments

Comments

@hoangminhq5310
Copy link

When I try to test IC15 ground truths with Pixellink boxes I always get this error:

Traceback (most recent call last):
  File "script.py", line 555, in <module>
    rrc_evaluation_funcs.main_evaluation(None,default_evaluation_params,validate_data,evaluate_method)
  File "/home/hoangminhq/TestFolder/OCR/TedEval/rrc_evaluation_funcs.py", line 304, in main_evaluation
    evalData = evaluate_method_fn(p['g'], p['s'], evalParams)
  File "script.py", line 309, in evaluate_method
    pointsList,_,transcriptionsList = rrc_evaluation_funcs.get_tl_line_values_from_file_contents(gtFile,evaluationParams['CRLF'],evaluationParams['LTRB'],True,False)
  File "/home/hoangminhq/TestFolder/OCR/TedEval/rrc_evaluation_funcs.py", line 269, in get_tl_line_values_from_file_contents
    points, confidence, transcription = get_tl_line_values(line,LTRB,withTranscription,withConfidence,imWidth,imHeight);
  File "/home/hoangminhq/TestFolder/OCR/TedEval/rrc_evaluation_funcs.py", line 167, in get_tl_line_values
    raise Exception("Ymax value not valid (Ymax: %s < Ymin: %s)." %(ymax,ymin))  
Exception: Ymax value not valid (Ymax: 351 < Ymin: 356).

The zip files are here:
gt.zip
result.zip

Even when I set -g and -s to be the same file I encountered the same error.

@haoran1062
Copy link

I ran into the same issue,did you fixed it?

@haoran1062
Copy link

haoran1062 commented Jan 12, 2021

I ran into the same issue,did you fixed it?

set LTRB:False , run success.

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

2 participants