Skip to content

Conversation

@holtskinner
Copy link
Member

@holtskinner holtskinner commented Jun 30, 2023

  • Added Sample for hocr export
    • Fixed issue where Jinja Template wouldn't work in installed library.

- Use more jinja templating instead of hardcoding strings
- Simplified bounding box function
- Changed parameter name for `_get_hocr_bounding_box` to `page_dimension` for more clarity.
@holtskinner holtskinner requested review from a team as code owners June 30, 2023 20:40
@holtskinner holtskinner requested a review from kweinmeister June 30, 2023 20:40
@snippet-bot
Copy link

snippet-bot bot commented Jun 30, 2023

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Jun 30, 2023
@holtskinner holtskinner added the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 30, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jun 30, 2023
@holtskinner
Copy link
Member Author

holtskinner commented Jun 30, 2023

Note - the error for the Samples might actually need fixing in the document.py wrapper. Not sure if the paths all line up correctly for the template when using the compiled library

Update: It did

- Required for template to work in installed library
@holtskinner holtskinner added the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 5, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 5, 2023
@holtskinner holtskinner added kokoro:run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Jul 5, 2023
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Jul 5, 2023
@holtskinner holtskinner added kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:run Add this label to force Kokoro to re-run the tests. labels Jul 5, 2023
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 5, 2023
@galz10 galz10 requested review from dizcology and removed request for kweinmeister July 5, 2023 16:39
@holtskinner holtskinner merged commit 4f7ba1b into main Jul 7, 2023
@holtskinner holtskinner deleted the hocr-exp branch July 7, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants