Add test copies final

This commit is contained in:
Louis Calas 2019-10-10 23:18:55 +02:00
parent 30c472f263
commit 22c4f54616
23 changed files with 7 additions and 1 deletions

Binary file not shown.

BIN
pdf/Test16Num.pdf Normal file

Binary file not shown.

BIN
pdf/TestBleu.pdf Normal file

Binary file not shown.

BIN
pdf/TestCharInvalides.pdf Normal file

Binary file not shown.

BIN
pdf/TestDecale.pdf Normal file

Binary file not shown.

BIN
pdf/TestFausseTaille.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
pdf/TestManuscrit1.pdf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
pdf/TestNormal3.pdf Normal file

Binary file not shown.

BIN
pdf/TestNote100.pdf Normal file

Binary file not shown.

BIN
pdf/TestNote100_2.pdf Normal file

Binary file not shown.

BIN
pdf/TestNoteDecimale.pdf Normal file

Binary file not shown.

BIN
pdf/TestNumVide.pdf Normal file

Binary file not shown.

BIN
pdf/TestPlace.pdf Normal file

Binary file not shown.

BIN
pdf/TestPolice.pdf Normal file

Binary file not shown.

BIN
pdf/TestQualite1.pdf Normal file

Binary file not shown.

Binary file not shown.

BIN
pdf/TestRouge.pdf Normal file

Binary file not shown.

View File

@ -48,6 +48,12 @@ public class GenerateCSV {
}
logger.debug("String validity ok");
return true;
} else if (s.length()==0 || s==null){
logger.fatal("Id not recognized");
return false;
} else {
logger.fatal("Student id's length is not correct");
return false;

View File

@ -15,7 +15,7 @@ public abstract class OCR {
tesseract.setDatapath("Tess4J");
tesseract.setLanguage("eng");
//tesseract.setOcrEngineMode(2);
tesseract.setTessVariable("tessedit_char_whitelist","0123456789");
tesseract.setTessVariable("tessedit_char_whitelist",",0123456789");
str=tesseract.doOCR(img);
} catch (TesseractException e) {