1.实现图片上报及下发注册的对接实现。
This commit is contained in:
@ -32,9 +32,12 @@ ColumnLayout {
|
||||
text: "10"
|
||||
}
|
||||
Button {
|
||||
text: "注册"
|
||||
onClicked: App.enroll(enrollName.text,
|
||||
parseInt(enrollTimeout.text))
|
||||
text: !App.module ? "注册" : App.module.currentMessageId
|
||||
=== 0x1d ? "取消" : "注册"
|
||||
onClicked: App.module.currentMessageId
|
||||
=== 0x1d ? App.module.reset() : App.enroll(
|
||||
enrollName.text,
|
||||
parseInt(enrollTimeout.text))
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -67,11 +70,11 @@ ColumnLayout {
|
||||
}
|
||||
Item {}
|
||||
Button {
|
||||
text: App.isVerifying?"停止": "识别"
|
||||
text: App.isVerifying ? "停止" : "识别"
|
||||
onClicked: {
|
||||
if(App.isVerifying){
|
||||
if (App.isVerifying) {
|
||||
App.module.reset()
|
||||
}else {
|
||||
} else {
|
||||
App.persistenceVerifyInterval = parseInt(
|
||||
verifyIntetval.text)
|
||||
App.verify(parseInt(verifyTimeout.text))
|
||||
@ -107,7 +110,7 @@ ColumnLayout {
|
||||
columns: 1
|
||||
Button {
|
||||
text: "录入图片上报"
|
||||
onClicked: App.getEnrolledImage("",60)
|
||||
onClicked: App.getEnrolledImage("", 60)
|
||||
}
|
||||
Button {
|
||||
text: "图片下发注册"
|
||||
|
Reference in New Issue
Block a user