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

support ocrmypdf#32 #39

Merged
merged 9 commits into from
Nov 30, 2020
Merged

support ocrmypdf#32 #39

merged 9 commits into from
Nov 30, 2020

Conversation

R0Wi
Copy link
Contributor

@R0Wi R0Wi commented Nov 14, 2020

No description provided.

@R0Wi R0Wi added the enhancement New feature or request label Nov 14, 2020
@R0Wi R0Wi added this to the v1.20.1 milestone Nov 14, 2020
@R0Wi R0Wi requested a review from bahnwaerter November 14, 2020 17:25
@github-actions
Copy link

Command results

Details:
Run doctoc
changed:
  - /home/runner/work/workflow_ocr/workflow_ocr/README.md
unchanged:

Changed files

Changed file:
  • README.md

:octocat: Repo | 📝 Issues | 🏬 Marketplace

@codecov
Copy link

codecov bot commented Nov 14, 2020

Codecov Report

Merging #39 (4c50dd3) into master (ae6aa08) will increase coverage by 21.96%.
The diff coverage is 100.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master      #39       +/-   ##
=============================================
+ Coverage     77.57%   99.53%   +21.96%     
+ Complexity      111       83       -28     
=============================================
  Files            16       13        -3     
  Lines           330      217      -113     
=============================================
- Hits            256      216       -40     
+ Misses           74        1       -73     
Impacted Files Coverage Δ Complexity Δ
lib/AppInfo/Application.php 100.00% <100.00%> (ø) 6.00 <0.00> (ø)
lib/BackgroundJobs/ProcessFileJob.php 100.00% <100.00%> (ø) 20.00 <1.00> (+1.00)
lib/Helper/ProcessingFileAccessor.php 100.00% <100.00%> (ø) 7.00 <7.00> (?)
lib/OcrProcessors/PdfOcrProcessor.php 100.00% <100.00%> (ø) 5.00 <1.00> (-17.00)
lib/Operation.php 100.00% <100.00%> (ø) 23.00 <7.00> (+5.00)
lib/Wrapper/CommandWrapper.php 100.00% <100.00%> (ø) 8.00 <7.00> (?)
lib/Wrapper/ViewWrapper.php 85.71% <100.00%> (+57.14%) 3.00 <0.00> (ø)

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 ae6aa08...4c50dd3. Read the comment docs.

@R0Wi R0Wi linked an issue Nov 17, 2020 that may be closed by this pull request
5 tasks
Copy link
Collaborator

@bahnwaerter bahnwaerter left a comment

Choose a reason for hiding this comment

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

Thanks @R0Wi for your great work. I've tested your pull request on a fresh Nextcloud 20.0.2 instance using OCRmyPDF in version 11.3.3. The OCR processing succeeds, but ignores bitmap images in a mixed file document (images embedded into text pages). Therefore, please consider my suggestion to solve this issue by changing the parameter of the OCRmyPDF command line call.

README.md Outdated Show resolved Hide resolved
lib/OcrProcessors/PdfOcrProcessor.php Outdated Show resolved Hide resolved
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@R0Wi R0Wi requested a review from bahnwaerter November 30, 2020 20:26
@R0Wi R0Wi merged commit 7664ef9 into master Nov 30, 2020
github-actions bot pushed a commit that referenced this pull request Nov 30, 2020
* First working version with OCRmyPDF #32

* Fix variable assignment

* Use ProcessingFileAccessor to prevent infinite loop

* Update README for OCRmyPDF

* docs: update TOC

* Update README + app compliance

* Code compliance

* Apply suggestions from code review

Co-authored-by: Manuel Bentele <[email protected]>

Co-authored-by: R0Wi <[email protected]>
Co-authored-by: Manuel Bentele <[email protected]>
R0Wi added a commit that referenced this pull request Nov 30, 2020
* First working version with OCRmyPDF #32

* Fix variable assignment

* Use ProcessingFileAccessor to prevent infinite loop

* Update README for OCRmyPDF

* docs: update TOC

* Update README + app compliance

* Code compliance

* Apply suggestions from code review

Co-authored-by: Manuel Bentele <[email protected]>

Co-authored-by: R0Wi <[email protected]>
Co-authored-by: Manuel Bentele <[email protected]>

Co-authored-by: Robin Windey <[email protected]>
Co-authored-by: R0Wi <[email protected]>
Co-authored-by: Manuel Bentele <[email protected]>
@R0Wi R0Wi deleted the feature/support_ocrmypdf#32 branch December 1, 2021 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable20 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate OCRmyPDF
2 participants