Skip to content
Snippets Groups Projects
Commit ced2c281 authored by Yonatan's avatar Yonatan
Browse files

Added documents folder

parent e971d774
No related branches found
No related tags found
1 merge request!1Final merge
File added
......@@ -23,6 +23,13 @@
</build>
<dependencies>
<dependency>
<groupId>opencv</groupId>
<artifactId>opencv</artifactId>
<scope>system</scope>
<version>4.7.0</version>
<systemPath>${project.basedir}/lib/opencv-470.jar</systemPath>
</dependency>
<dependency>
<groupId>com.github.jai-imageio</groupId>
<artifactId>jai-imageio-core</artifactId>
......
......@@ -27,7 +27,7 @@ public class Main {
var tess = new TesseractRecognizer.Builder()
.setDataPath(new File("C:/Proyectos/TFG/src/main/resources/tessdata/"))
.setLanguage("spa")
.setVariable("user_defined_dpi", "300") // TODO: 10/04/2023 300 dpi is too high, test lower dpi and see how it affects the results and completion time
.setVariable("user_defined_dpi", "70") // TODO: 10/04/2023 300 dpi is too high, test lower dpi and see how it affects the results and completion time
.build();
var words = tess.recognizeSync(image, 80);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment