tesseract/src
Stefan Weil 7434590b9a lstmtraining: Check write permission for output model
This is done by creating a temporary file.
Report an error and terminate if that fails.

Use also EXIT_SUCCESS and EXIT_FAILURE for the return values of main().

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-05 20:38:02 +02:00
..
api Allow orientation detection with any traineddata 2018-10-04 17:07:14 +02:00
arch add header guard 2018-09-22 18:44:26 +02:00
ccmain implement parameter min_characters_to_try for minimum characters to try to skip page entirely. 2018-10-05 19:05:28 +02:00
ccstruct Fix CID 1395882 (Uninitialized scalar variable) 2018-10-02 11:34:14 +02:00
ccutil Fix CID 1164579 (Explicit null dereferenced) 2018-10-02 11:48:28 +02:00
classify Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
cutil CUtil: Define virtual destructor in .cpp file 2018-09-04 07:46:31 +02:00
dict Simplify boolean expressions 2018-09-29 08:21:14 +02:00
lstm TransposedArray: Define virtual destructor in .cpp file 2018-09-04 13:09:49 +02:00
opencl use tprintf instead of printf to be able disable messages by quiet option 2018-09-29 13:49:08 +02:00
textord Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
training lstmtraining: Check write permission for output model 2018-10-05 20:38:02 +02:00
viewer Remove duplicate include statements 2018-09-19 22:33:29 +02:00
vs2010 Fix whitespace issues 2018-08-01 13:19:52 +02:00
wordrec replace deprecated C++ headers (reported by clan-tidy) - partially supersedes PR #1605 2018-09-18 18:51:11 +02:00