What are the default image prefilter settings for a detection server

book

Article ID: 221599

calendar_today

Updated On:

Products

Data Loss Prevention Sensitive Image Recognition

Issue/Introduction

ImageRecognition.properties default settings

Resolution

# General settings
ImageRecogntion.NUMBER_OF_WORKER_THREADS = 2

# Image preclassifier settings
ImagePreclassifier.CANONICAL_SIZE_HIGHRES = 1410
ImagePreclassifier.CANONICAL_SIZE_LOWRES = 470
ImagePreclassifier.COLORPRECLASS_THUMBNAIL_SIZE = 110
ImagePreclassifier.COLORPRECLASS_BORDER_PERC_REMOVE = 0.15
ImagePreclassifier.COLORPRECLASS_BRIGHTNESS_RATIO_THRESHOLD_HIGH = 0.6F
ImagePreclassifier.COLORPRECLASS_BRIGHTNESS_RATIO_THRESHOLD_MEDIUM = 0.45F
ImagePreclassifier.COLORPRECLASS_DOMINANT_COLOR_RATIO_THRESHOLD = 0.30F
ImagePreclassifier.COLOR_SATURATION_RADIUS_THRESHOLD = 102
ImagePreclassifier.SATURATION_PERCENTAGE_THRESHOLD_HIGH = 0.10F
ImagePreclassifier.SCREENSHOT_MAXDIM = 4000
ImagePreclassifier.SCREENSHOT_MARGINSEARCHRANGE = 0.10
ImagePreclassifier.SMOOTH_BACKGROUND_CHECK_THRESHOLD = 10
ImagePreclassifier.FRAME_LENGTH_RATIO_THRESHOLD = 0.80
ImagePreclassifier.FRAME_MAX_NUMBER_OF_LAYER = 1
ImagePreclassifier.FRAME_LAYER_DIFFERENCE_THRESHOLD = 20
ImagePreclassifier.TEXTFINDER_MINSURFACE_PERCENTAGE_COARSE = 0.03
ImagePreclassifier.TEXTFINDER_MINSURFACE_PERCENTAGE_FINE = 1.5
ImagePreclassifier.TEXTFINDER_MINIMUM_WORDS = 10
ImagePreclassifier.TEXTFINDER_MSER_MINAREA_COARSE = 0.0005
ImagePreclassifier.TEXTFINDER_MSER_MAXAREA_COARSE = 0.1
ImagePreclassifier.TEXTFINDER_MSER_DELTA_COARSE = 10
ImagePreclassifier.TEXTFINDER_MERGEWORD_LOOKBACK = 15
ImagePreclassifier.TEXTFINDER_MIN_WORDS_IN_SENTENCE = 2
ImagePreclassifier.TEXTFINDER_CC_MAXAREA_RATIO = 0.01
ImagePreclassifier.OCR_MINIMUM_IMAGE_DIM = 200
ImagePreclassifier.OCR_MAXIMUM_IMAGE_DIM = 8400
ImagePreclassifier.OCR_USER_TRADE_OFF_MODE = 1
ImagePreclassifier.OCR_ONLY_WHITE = false
ImagePreclassifier.OCR_ENABLE_FRAME_DETECTOR = true
ImagePreclassifier.OCR_ENABLE_COLOR_PRECLASSIFIER = true
ImagePreclassifier.OCR_ENABLE_SCREENSHOT_DETECTOR = true
ImagePreclassifier.OCR_ENABLE_TEXT_FINDER = true
ImagePreclassifier.OCR_MINIMUM_IMAGE_ASPECT_RATIO = 0.02
ImagePreclassifier.FORM_RECOGNITION_MINIMUM_IMAGE_WIDTH = 320
ImagePreclassifier.FORM_RECOGNITION_MAXIMUM_IMAGE_WIDTH = 10000
ImagePreclassifier.FORM_RECOGNITION_MINIMUM_IMAGE_ASPECT_RATIO = 0.3
ImagePreclassifier.FORM_RECOGNITION_ENABLE_FRAME_DETECTOR = true
ImagePreclassifier.FORM_RECOGNITION_ENABLE_COLOR_PRECLASSIFIER = true
ImagePreclassifier.FORM_RECOGNITION_ENABLE_TEXT_FINDER = true
ImagePreclassifier.ENABLE_PERFORMANCE_LOGGING = false
ImagePreclassifier.ENABLE_OCR_PRECLASSIFIER = true
ImagePreclassifier.ENABLE_FORM_RECOGNITION_PRECLASSIFIER = true

# Form Recognition Settings
FormRecognition.NUMBER_OF_KEYPOINTS_DENSE = 1350
FormRecognition.NUMBER_OF_KEYPOINTS_SPARSE = 720
FormRecognition.SCALE_FACTOR = 1.2f
FormRecognition.NUMBER_OF_LEVELS = 4
FormRecognition.EDGE_THRESHOLD = 31
FormRecognition.DESCRIPTOR_PATCH_SIZE = 31
FormRecognition.DETECTOR_PATCH_SIZE = 31
FormRecognition.CANONICAL_FORM_WIDTH = 930
FormRecognition.BORDER_PERCENT_CROP_PHOTO = 2
FormRecognition.FIRST_LEVEL = 0
FormRecognition.WTK_2 = 2
FormRecognition.K_NEAREST_NEIGHBOR = 3
FormRecognition.LSH_TABLE_NUMBER = 8
FormRecognition.LSH_KEY_SIZE = 30
FormRecognition.LSH_MULTI_PROBE_LEVEL = 2
FormRecognition.FLANN_SEARCH_CHECKS = 64
FormRecognition.RATIO_TEST_THRESH = 0.85f
FormRecognition.RETAIN_TOPN = 20
FormRecognition.ALIGNMENT_COEFFICIENT = 85.00
FormRecognition.RANSAC_CONFIDENCE = 0.99
FormRecognition.RANSAC_DISTANCE = 5.0
FormRecognition.RANSAC_REFINE_FUNDAMENTAL_MAT = false
FormRecognition.MIN_NUMBER_MATCHING_KEYPOINTS = 12
FormRecognition.ALIGNMENT_STAGE_KEYPOINTS_RATIO_THRESHOLD = 0.85
FormRecognition.ALIGNMENT_STAGE_USE_PROJECTIVE_TRANSFORM = true
FormRecognition.ALIGNMENT_STAGE_RETURN_ONLY_TOP_MATCH = true
FormRecognition.DIFFERENCE_IMAGE_CLEANING = true
FormRecognition.UNCERTAINTY_HIGHLIGHTING = true
FormRecognition.PRECLASSIFIER_ON = true
FormRecognition.PRECLASSIFIER_ACTION = 1
FormRecognition.PRECLASSIFY_BRIGHTNESS_RATIO_THRESHOLD = 0.6F
FormRecognition.PRECLASSIFY_DOMINANT_COLOR_RATIO_THRESHOLD = 0.30F
FormRecognition.MINIMUM_FORM_WIDTH = 320
FormRecognition.MAXIMUM_FORM_WIDTH = 10000
FormRecognition.MINIMUM_FORM_ASPECT_RATIO = 0.3
FormRecognition.ALIGNMENT_COEFFICIENT_SOFT = 96.0
FormRecognition.ENABLE_PERFORMANCE_LOGGING = false