thiagoalessio / tesseract-ocr-for-php

A wrapper to work with Tesseract OCR inside PHP.
https://packagist.org/packages/thiagoalessio/tesseract_ocr
MIT License
2.87k stars 551 forks source link

Julesdevops dpi feature #206

Closed bourdaisj closed 3 years ago

bourdaisj commented 3 years ago

Description

It add a dpi method on the Option class, allowing to invoke tesseract with the --dpi option. Unfortunately, I didn't find the version in which tesseract introduced the "--dpi' option.

Related Issues

None, this is a feature I need in one of my projects.

codecov[bot] commented 3 years ago

Codecov Report

Merging #206 (50058b0) into main (82cfd78) will increase coverage by 0.21%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #206      +/-   ##
============================================
+ Coverage     84.34%   84.56%   +0.21%     
- Complexity       95       96       +1     
============================================
  Files             5        5              
  Lines           281      285       +4     
============================================
+ Hits            237      241       +4     
  Misses           44       44              
Impacted Files Coverage Δ Complexity Δ
src/Option.php 100.00% <100.00%> (ø) 11.00 <1.00> (+1.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 82cfd78...50058b0. Read the comment docs.

thiagoalessio commented 3 years ago

@Julesdevops The new dpi feature is available in version 2.10.0.

bourdaisj commented 3 years ago

Thanks a lot Have a nice day :)