##########################################################################
# Fingerprint Capture Module Setting Profile 
# CogentSystems Inc.
# All Copyrights Reserved
##########################################################################


##########################################################################
# [SYSTEM] section is for all scanner type
##########################################################################

[SYSTEM]
TASKFILE	= _Tasks.cfg

# Resource file location.
CAPTURE_RESOURCE_FILE		=CaptureCtrl.eng.rsc
DISP_TP_RESOURCE_FILE		= "DispTpCtrl.rsc"
AD_EXCP_RESOURCE_FILE           = CaptureAdExp.eng.rsc

# Segmentation config file and parameters
CONFIG_DIR			= "CONFIG"
SEQ_CHK_FILE			= seqchk.cfg
FLAT_CUT_THRESHOLD		= 12
QUALITY_THRESHOLD		= 6

AUTO_OVERRIDE = 1

AUTO_CAPTURE = 1

# 
MAX_RETRY_TIMES_FINGER		= 2
MAX_RETRY_TIMES_PALM		= 3
#added by john
ALLOW_OVERRIDE_WHEN_FAIL	= 2
ALLOW_OVERRIDE_WHEN_FAIL_RECAP	= 3


PALM_CHK_LOW_LEVEL		= 0
ANNOTATION_WHEN_PALM_SEQ_CHK_FAIL	= 0
ANNOTATION_WHEN_SKIP		= 1

# Background color
COLOR_BK_RED			= -1
COLOR_BK_GREEN			= -1
COLOR_BK_BLUE			= -1


# Flow setting
AUTO_DETECT_THUMB		= 1
DETECT_THUMB_WIDTH		=500
DETECT_THUMB_HEIGHT		=750
CUT_4_FINGER			= 0
PALM_FLOW			= 0

WAIT_BEFORE_AUTO_CONFIRM	=0
WAIT_BEFORE_AUTO_RETRY		= 2
WAIT_BEFORE_AUTO_CAPTURE	= 3
MANUAL_CUT=0

STANDBY_INTERVAL  =  0
AUTO_HCENTER_ROLL = 1

[EXCEPTION]
; 0 means normal, 1 means taking fingerprint without quality and sequence check, 2 means skipped
EXCEPTION01_SKIP_FINGER	= 0
EXCEPTION02_SKIP_FINGER	= 2
EXCEPTION03_SKIP_FINGER	= 2
EXCEPTION04_SKIP_FINGER	= 0
EXCEPTION05_SKIP_FINGER	= 0
EXCEPTION06_SKIP_FINGER	= 0
EXCEPTION07_SKIP_FINGER	= 0
EXCEPTION08_SKIP_FINGER	= 0
EXCEPTION09_SKIP_FINGER	= 0
EXCEPTION10_SKIP_FINGER	= 0

; abbreviation to be shown in cards
EXCEPTION01_ANT	= 
EXCEPTION02_ANT	= AMPUTATION
EXCEPTION03_ANT	= BANDAGED
EXCEPTION04_ANT	= 
EXCEPTION05_ANT	= 
EXCEPTION06_ANT	= 
EXCEPTION07_ANT	= 
EXCEPTION08_ANT	= 
EXCEPTION09_ANT	= 
EXCEPTION10_ANT	= 

[QUALITY_CONTROL]
FLAT_01	=3
FLAT_02	=3
FLAT_03	=3
FLAT_04	=4
FLAT_05	=5
FLAT_06	=3
FLAT_07	=3
FLAT_08	=3
FLAT_09	=4
FLAT_10	=5

ROLL_01	=3
ROLL_02	=3
ROLL_03	=3
ROLL_04	=4
ROLL_05	=5
ROLL_06	=3
ROLL_07	=3
ROLL_08	=3
ROLL_09	=4
ROLL_10	=5
ENABLE_NFIQ=1






#added by john
POOR_QUA_ATTEMPS = 2;
AUTO_PICK_BEST = 1;













# Image size setting
[IMAGE_SIZE]
#full screen (-1)
FLAT_SLAP_WIDTH 	= 1600
FLAT_SLAP_HEIGHT 	= 1500
FLAT_TWO_THUMB_WIDTH 	= 1600
FLAT_TWO_THUMB_HEIGHT	= 1500
ROLL_WIDTH		= 800
ROLL_HEIGHT		= 750

# Log setting
[LOG]
ENABLE	= 1
DIR	= ..\log
LOG_LEVEL = 6

[AUTO_CAPTURE]
GREY_LEVEL =230
NO_MOVE_FRAMES =2
MAX_DEVIATION_SQUARE = 3000

[QUALITY_LEVEL]
ROLL01_LEVEL01 =GOOD,1,2
ROLL01_LEVEL02 =FAIR,3,3
ROLL01_LEVEL03 =POOR,4,5
ROLL02_LEVEL01 =GOOD,1,2
ROLL02_LEVEL02 =FAIR,3,3
ROLL02_LEVEL03 =POOR,4,5
ROLL03_LEVEL01 =GOOD,1,2
ROLL03_LEVEL02 =FAIR,3,3
ROLL03_LEVEL03 =POOR,4,5
ROLL04_LEVEL01 =GOOD,1,2
ROLL04_LEVEL02 =FAIR,3,3
ROLL04_LEVEL03 =POOR,4,5
ROLL05_LEVEL01 =GOOD,1,2
ROLL05_LEVEL02 =FAIR,3,3
ROLL05_LEVEL03 =POOR,4,5
ROLL06_LEVEL01 =GOOD,1,2
ROLL06_LEVEL02 =FAIR,3,3
ROLL06_LEVEL03 =POOR,4,5
ROLL07_LEVEL01 =GOOD,1,2
ROLL07_LEVEL02 =FAIR,3,3
ROLL07_LEVEL03 =POOR,4,5
ROLL08_LEVEL01 =GOOD,1,2
ROLL08_LEVEL02 =FAIR,3,3
ROLL08_LEVEL03 =POOR,4,5
ROLL09_LEVEL01 =GOOD,1,2
ROLL09_LEVEL02 =FAIR,3,3
ROLL09_LEVEL03 =POOR,4,5
ROLL10_LEVEL01 =GOOD,1,2
ROLL10_LEVEL02 =FAIR,3,3
ROLL10_LEVEL03 =POOR,4,5

FLAT01_LEVEL01 =GOOD,1,2
FLAT01_LEVEL02 =FAIR,3,3
FLAT01_LEVEL03 =POOR,4,5
FLAT02_LEVEL01 =GOOD,1,2
FLAT02_LEVEL02 =FAIR,3,3
FLAT02_LEVEL03 =POOR,4,5
FLAT03_LEVEL01 =GOOD,1,2
FLAT03_LEVEL02 =FAIR,3,3
FLAT03_LEVEL03 =POOR,4,5
FLAT04_LEVEL01 =GOOD,1,2
FLAT04_LEVEL02 =FAIR,3,3
FLAT04_LEVEL03 =POOR,4,5
FLAT05_LEVEL01 =GOOD,1,2
FLAT05_LEVEL02 =FAIR,3,3
FLAT05_LEVEL03 =POOR,4,5
FLAT06_LEVEL01 =GOOD,1,2
FLAT06_LEVEL02 =FAIR,3,3
FLAT06_LEVEL03 =POOR,4,5
FLAT07_LEVEL01 =GOOD,1,2
FLAT07_LEVEL02 =FAIR,3,3
FLAT07_LEVEL03 =POOR,4,5
FLAT08_LEVEL01 =GOOD,1,2
FLAT08_LEVEL02 =FAIR,3,3
FLAT08_LEVEL03 =POOR,4,5
FLAT09_LEVEL01 =GOOD,1,2
FLAT09_LEVEL02 =FAIR,3,3
FLAT09_LEVEL03 =POOR,4,5
FLAT10_LEVEL01 =GOOD,1,2
FLAT10_LEVEL02 =FAIR,3,3
FLAT10_LEVEL03 =POOR,4,5


FLAT11_LEVEL01=GOOD,1,2
FLAT11_LEVEL02=FAIR,3,3
FLAT11_LEVEL03=POOR,4,5
FLAT12_LEVEL01=GOOD,1,2
FLAT12_LEVEL02=FAIR,3,3
FLAT12_LEVEL03=POOR,4,5
FLAT13_LEVEL01=GOOD,1,2
FLAT13_LEVEL02=FAIR,3,3
FLAT13_LEVEL03=POOR,4,5
FLAT14_LEVEL01=GOOD,1,2
FLAT14_LEVEL02=FAIR,3,3
FLAT14_LEVEL03=POOR,4,5
FLAT15_LEVEL01=GOOD,1,2
FLAT15_LEVEL02=FAIR,3,3
FLAT15_LEVEL03=POOR,4,5
