Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Public Member Functions | |
boolean | getOCREnabled () |
List< String > | getOCRLanguages () |
void | setOCREnabled (boolean enabled) |
void | setOCRLanguages (List< String > languages) |
Private Attributes | |
Boolean | OCREnabled |
List< String > | ocrLanguages |
Allows for configuration of OCR on image files. Extractors that use ImageConfig can be obtained through TextExtractoryFactory.getExtractor().
Definition at line 29 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 49 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 69 of file ImageConfig.java.
References org.sleuthkit.autopsy.textextractors.configs.ImageConfig.ocrLanguages.
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 40 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.keywordsearch.KeywordSearchIngestModule.Indexer.extractTextAndIndex(), and org.sleuthkit.autopsy.texttranslation.ui.TranslatedTextViewer.BackgroundTranslationTask.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 60 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.texttranslation.ui.TranslatedTextViewer.BackgroundTranslationTask.getTextExtractor().
|
private |
Definition at line 31 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCREnabled().
|
private |
Definition at line 32 of file ImageConfig.java.
Referenced by org.sleuthkit.autopsy.textextractors.configs.ImageConfig.getOCRLanguages().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.