Skip to content

Commit

Permalink
Merge pull request #830 from AI4Bharat/small_OCR_changes
Browse files Browse the repository at this point in the history
small fix
  • Loading branch information
ishvindersethi22 authored Sep 5, 2023
2 parents aef2eb3 + 85a370a commit ae86948
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/functions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,8 @@ def get_batch_ocr_predictions_using_google(id, image_url):
- paragraph_bounding_box[0]["y"],
"labels": ["Body"],
"rotation": 0,
"original_width": 1510,
"original_height": 2373,
"original_width": page.width,
"original_height": page.height,
}

ocr_prediction = ocr_format_conversion(ocr_prediction)
Expand Down

0 comments on commit ae86948

Please sign in to comment.