#!/usr/bin/python
 # vim: set ts=2 expandtab:
"""
Module: defaults.py
Desc: Managa text detection default parameters
Author: John O'Neil
Email: oneil.john@gmail.com
DATE: Friday,  Sept 6th 2013

  Default parameter values.
  
"""

BINARY_THRESHOLD = 190
GAUSSIAN_FILTER_SIGMA = 1.5
SEGMENTATION_THRESHOLD = 1
CC_SCALE_MAX = 4.0
CC_SCALE_MIN = 0.15
VERTICAL_SMOOTHING_MULTIPLIER = 1
HORIZONTAL_SMOOTHING_MULTIPLIER = 1
FURIGANA_WIDTH_THRESHOLD=0.65
FURIGANA_DISTANCE_MULTIPLIER=3.0 #2.0
FURIGANA_VERTICAL_SIGMA_MULTIPLIER=2.5 #1.5
FURIGANA_HORIZONTAL_SIGMA_MULTIPLIER=0.0
FURIGANA_BINARY_THRESHOLD=240
MINIMUM_TEXT_SIZE_THRESHOLD=7
MAXIMUM_VERTICAL_SPACE_VARIANCE=5.0


# BINARY_THRESHOLD = 190
# GAUSSIAN_FILTER_SIGMA = 1.5
# SEGMENTATION_THRESHOLD = 1
# CC_SCALE_MAX = 4.0
# CC_SCALE_MIN = 0.15
# VERTICAL_SMOOTHING_MULTIPLIER = 0.75
# HORIZONTAL_SMOOTHING_MULTIPLIER = 0.75
# FURIGANA_WIDTH_THRESHOLD=0.65
# FURIGANA_DISTANCE_MULTIPLIER=3.0 #2.0
# FURIGANA_VERTICAL_SIGMA_MULTIPLIER=2.5 #1.5
# FURIGANA_HORIZONTAL_SIGMA_MULTIPLIER=0.0
# FURIGANA_BINARY_THRESHOLD=240
# MINIMUM_TEXT_SIZE_THRESHOLD=7
# MAXIMUM_VERTICAL_SPACE_VARIANCE=5.0