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

fix: Removed PDF forced square resize from demo & analysis script #368

Merged
merged 2 commits into from
Jul 7, 2021

Conversation

fg-mindee
Copy link
Contributor

This PR removes the resizing step of PDF image rendering to square images. The reason behind that is that while it's indeed optimized if the predictor target size is that specific size if there are multiple preprocessors inside, it yields double interpolation.

Any feedback is welcome!

@fg-mindee fg-mindee added type: enhancement Improvement ext: scripts Related to scripts folder ext: demo Related to demo folder labels Jul 7, 2021
@fg-mindee fg-mindee added this to the 0.3.1 milestone Jul 7, 2021
@fg-mindee fg-mindee self-assigned this Jul 7, 2021
Copy link
Collaborator

@charlesmindee charlesmindee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@codecov
Copy link

codecov bot commented Jul 7, 2021

Codecov Report

Merging #368 (3ec8577) into main (c18025b) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #368      +/-   ##
==========================================
- Coverage   96.18%   96.15%   -0.03%     
==========================================
  Files          83       83              
  Lines        3461     3461              
==========================================
- Hits         3329     3328       -1     
- Misses        132      133       +1     
Flag Coverage Δ
unittests 96.15% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...dels/detection/differentiable_binarization/base.py 91.30% <0.00%> (-0.63%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c18025b...3ec8577. Read the comment docs.

@fg-mindee fg-mindee merged commit 194d7c6 into main Jul 7, 2021
@fg-mindee fg-mindee deleted the doc-resize branch July 7, 2021 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ext: demo Related to demo folder ext: scripts Related to scripts folder type: enhancement Improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants