Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ttt
Teleteaching Standalone
Commits
86d59e03
Commit
86d59e03
authored
Dec 06, 2016
by
Administrator
Browse files
added OCR to postprocessing
parent
bdba3bb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
java/ttt/postprocessing/ScriptCreator.java
View file @
86d59e03
...
...
@@ -135,8 +135,10 @@ public class ScriptCreator {
}
else
{
System
.
out
.
print
(
arg
+
"\t"
);
Recording
recording
=
new
Recording
(
arg
,
false
);
recording
.
createScript
(
HTML_SCRIPT
|
OCR_OPTIMIZED
|
PDF_SCRIPT
);
// recording.store();
int
mode
=
HTML_SCRIPT
|
PDF_SCRIPT
;
if
(
recording
.
index
.
searchbaseFormatStored
==
recording
.
index
.
NO_SEARCHBASE
)
mode
=
mode
|
OCR_OPTIMIZED
;
recording
.
createScript
(
mode
);
if
(
recording
.
index
.
getSearchbaseFormat
()!=
recording
.
index
.
searchbaseFormatStored
)
recording
.
store
();
}
}
System
.
exit
(
0
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment