This commit is contained in:
kong 2023-04-07 22:23:15 +07:00
parent cb8dd6737f
commit a8252aef37
2 changed files with 9 additions and 6 deletions

View file

@ -1022,7 +1022,7 @@
If Not#CameraSettingStatus = "" Then
If CameraCount = 1 Then
CameraSetting "usbfront" "default" "Rotate=90,Resolution=1280x720,scaleX=1.0,scaleY=1.0"
CameraSetting "usbfront" "default" "Rotate=90,Resolution=1280x720,scaleX=1.0,scaleY=0.7"
EndIf
EndIf
Else

View file

@ -58,7 +58,7 @@
Var CountDownDelayReadCardID = 5
DEBUGVAR CameraCount
STOPCARDID
;STOPCARDID
</EventOpen>
@ -199,6 +199,7 @@
DEBUGVAR IDBirthdate
DEBUGVAR CountDownDelayReadCardID
DEBUGVAR ShutterResult
DEBUGVAR IDCardState
If IDBirthdate = "" Then
@ -308,11 +309,11 @@
</Image>
<CameraX>
<X> 0 </X>
<Y> 381 </Y>
<X> 140 </X>
<Y> 1053 </Y>
<Name>"usbfront"</Name>
<Width> 700 </Width>
<Height> 394 </Height>
<Width> 800 </Width>
<Height> 800 </Height>
</CameraX>
@ -324,10 +325,12 @@
</EventCamera>
<EventIDCard>
;
SAVELOG "EventIDCard"
DEBUGVAR IDCardStatus
DEBUGVAR IDCardReady
DEBUGVAR IDCardData
DEBUGVAR IDBirthdate
DEBUGVAR IDCardState
</EventIDCard>
</Popup>