ignore old verify
This commit is contained in:
parent
d73f5e9e76
commit
ba515e192a
3 changed files with 105 additions and 43 deletions
|
|
@ -63,7 +63,11 @@
|
|||
Var Timeout = 0
|
||||
Var ShutterResult = "-"
|
||||
|
||||
Var AdultFlag = 1
|
||||
;Var AdultFlag = 1
|
||||
If Only18 = "true" Then
|
||||
Var AdultFlag = 0
|
||||
EndIf
|
||||
DEBUGVAR AdultFlag
|
||||
|
||||
If AdultFlag = 1 Then
|
||||
|
||||
|
|
@ -88,6 +92,8 @@
|
|||
Var AdultFlag2 = 1
|
||||
EndIf
|
||||
|
||||
DEBUGVAR AdultState1
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
|
||||
|
|
@ -419,6 +425,17 @@
|
|||
<Y> 888 </Y>
|
||||
<Width>180</Width>
|
||||
<Height>180</Height>
|
||||
<State> eval(
|
||||
If Only18 = "true" Then
|
||||
|
||||
If EnableLiveness = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/arrow_up.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/liveness/arrow_up.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
@ -443,6 +460,17 @@
|
|||
<Y> 1249 </Y>
|
||||
<Width>180</Width>
|
||||
<Height>180</Height>
|
||||
<State> eval(
|
||||
If Only18 = "true" Then
|
||||
|
||||
If EnableLiveness = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/arrow_down.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/liveness/arrow_down.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
@ -468,6 +496,17 @@
|
|||
<Y> 888 </Y>
|
||||
<Width>180</Width>
|
||||
<Height>180</Height>
|
||||
<State> eval(
|
||||
If Only18 = "true" Then
|
||||
|
||||
If EnableLiveness = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/arrow_up.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/liveness/arrow_up.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
@ -492,6 +531,17 @@
|
|||
<Y> 1249 </Y>
|
||||
<Width>180</Width>
|
||||
<Height>180</Height>
|
||||
<State> eval(
|
||||
If Only18 = "true" Then
|
||||
|
||||
If EnableLiveness = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
) </State>
|
||||
<Filename> "ROOT/taobin_project/image/liveness/arrow_down.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/liveness/arrow_down.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
|
|
@ -531,6 +581,17 @@
|
|||
<Height> KornCameraXH </Height>
|
||||
;800
|
||||
; Display height is about 680, (full height = 888)
|
||||
<State> eval(
|
||||
If Only18 = "true" Then
|
||||
|
||||
If EnableLiveness = "true" Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
) </State>
|
||||
<LivenessParameterWhenOK> "FileName=/mnt/sdcard/camera1_alter.jpg" </LivenessParameterWhenOK>
|
||||
</CameraX>
|
||||
|
||||
|
|
@ -605,7 +666,9 @@
|
|||
EndIf
|
||||
|
||||
If LivenessResult = "pass" Then
|
||||
|
||||
DEBUGVAR AdultFlag
|
||||
DEBUGVAR AdultState1
|
||||
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||
Else
|
||||
Var LivenessShowString = LivenessStateString
|
||||
EndIf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue