Autopsy
4.17.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
boolean | getOCREnabled () |
List< String > | getOCRLanguages () |
ProcessTerminator | getOCRTimeoutTerminator () |
void | setOCREnabled (boolean enabled) |
void | setOCRLanguages (List< String > languages) |
Private Attributes | |
Boolean | OCREnabled |
List< String > | ocrLanguages |
final TimedProcessTerminator | ocrTimedTerminator = new TimedProcessTerminator(OCR_TIMEOUT_SECONDS) |
Static Private Attributes | |
static final int | OCR_TIMEOUT_SECONDS = 30 * 60 |
Allows for configuration of OCR on image files. Extractors that use ImageConfig can be obtained through TextExtractoryFactory.getExtractor().
Definition at line 31 of file ImageConfig.java.
boolean org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCREnabled | ( | ) |
Gets the OCR flag that has been set. By default this flag is turned off.
Definition at line 54 of file ImageConfig.java.
References org.sleuthkit.autopsy.textextractors.configs.ImageConfig.OCREnabled.
List<String> org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCRLanguages | ( | ) |
Gets the list of languages OCR should perform.
Definition at line 74 of file ImageConfig.java.
References org.sleuthkit.autopsy.textextractors.configs.ImageConfig.ocrLanguages.
ProcessTerminator org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCRTimeoutTerminator | ( | ) |
Returns a ProcessTerminator for timing out the OCR process.
Definition at line 83 of file ImageConfig.java.
References org.sleuthkit.autopsy.textextractors.configs.ImageConfig.ocrTimedTerminator.
void org.sleuthkit.autopsy.textextractors.configs.ImageConfig.setOCREnabled | ( | boolean | enabled | ) |
Enables OCR to be run on the text reader responsible for handling image files.
enabled | Flag indicating if OCR is enabled. |
Definition at line 45 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.extractTextAndIndex(), and org.sleuthkit.autopsy.texttranslation.ui.TranslatedTextViewer.ExtractAndTranslateTextTask.getTextExtractor().
void org.sleuthkit.autopsy.textextractors.configs.ImageConfig.setOCRLanguages | ( | List< String > | languages | ) |
Sets languages for OCR.
See PlatformUtil for list of installed language packs.
languages | List of languages to use |
Definition at line 65 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.texttranslation.ui.TranslatedTextViewer.ExtractAndTranslateTextTask.getTextExtractor().
|
staticprivate |
Definition at line 33 of file ImageConfig.java.
|
private |
Definition at line 35 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCREnabled().
|
private |
Definition at line 36 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCRLanguages().
|
private |
Definition at line 37 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCRTimeoutTerminator().
Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.