实现精细化人脸识别功能,人脸交互详细, UI部分还需要优化

This commit is contained in:
冯佳
2025-09-15 16:03:17 +08:00
parent babab70845
commit 7205a21a8d
6 changed files with 220 additions and 124 deletions

View File

@ -3037,7 +3037,7 @@ color: rgb(255, 170, 0);</string>
</rect>
</property>
<property name="statusTip">
<string>Index=7, Action=SetPage5_1,SelectImag=IMxx_00D.png</string>
<string>Index=7, Action=SetPage5_1,SelectImag=IMxx_00D.png,password</string>
</property>
<property name="text">
<string/>

View File

@ -91,39 +91,13 @@
<property name="flat">
<bool>false</bool>
</property>
<widget class="QPushButton" name="btn_save">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>211</width>
<height>41</height>
</rect>
</property>
<property name="statusTip">
<string/>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgb(0, 0, 0);
color: rgb(170, 0, 0);</string>
</property>
<property name="text">
<string>日志</string>
</property>
<property name="iconSize">
<size>
<width>72</width>
<height>144</height>
</size>
</property>
</widget>
<widget class="QTextEdit" name="txt_log">
<property name="geometry">
<rect>
<x>-20</x>
<y>60</y>
<y>20</y>
<width>701</width>
<height>301</height>
<height>341</height>
</rect>
</property>
</widget>
@ -182,7 +156,7 @@ color: rgb(170, 0, 0);</string>
</rect>
</property>
<property name="statusTip">
<string/>
<string>mian=51</string>
</property>
<property name="title">
<string>命令</string>
@ -197,7 +171,7 @@ color: rgb(170, 0, 0);</string>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=Reset,SelectImag=IMxx_00F.png</string>
<string>Index=0, Action=Reset,SelectImag=IMxx_00F.png,groupstart=8</string>
</property>
<property name="text">
<string>复位</string>
@ -213,65 +187,33 @@ color: rgb(170, 0, 0);</string>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=VideoMode,SelectImag=IMxx_00F.png</string>
<string>Index=1, Action=VideoMode,SelectImag=IMxx_00F.png</string>
</property>
<property name="text">
<string>视频模式</string>
</property>
</widget>
<widget class="QPushButton" name="btn_verify">
<property name="geometry">
<rect>
<x>12</x>
<y>115</y>
<width>80</width>
<height>23</height>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=Verify,password,SelectImag=IMxx_00F.png</string>
</property>
<property name="text">
<string>识别</string>
</property>
</widget>
<widget class="QPushButton" name="btn_enroll">
<property name="geometry">
<rect>
<x>12</x>
<y>144</y>
<x>10</x>
<y>210</y>
<width>80</width>
<height>23</height>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=EnrollItgSingle,SelectImag=IMxx_00F.png</string>
<string>Index=5, Action=EnrollItgSingle,SelectImag=IMxx_00F.png</string>
</property>
<property name="text">
<string>ITG注册</string>
</property>
</widget>
<widget class="QPushButton" name="btn_users">
<property name="geometry">
<rect>
<x>12</x>
<y>173</y>
<width>80</width>
<height>23</height>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=Users,SelectImag=IMxx_00F.png</string>
</property>
<property name="text">
<string>用户管理</string>
</property>
</widget>
<widget class="QLineEdit" name="FaceRecogTimeoutEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>310</y>
<x>-10</x>
<y>180</y>
<width>120</width>
<height>25</height>
</rect>
@ -286,7 +228,7 @@ color: rgb(170, 0, 0);</string>
<enum>Qt::NoFocus</enum>
</property>
<property name="statusTip">
<string>System=FaceRecogTimeout, Action=ModifySystem, Index=13,SelectImag=P4_ParaSelect.png, password</string>
<string>System=FaceRecogTimeout, Action=ModifySystem, Index=4,SelectImag=P4_ParaSelect.png, password</string>
</property>
<property name="styleSheet">
<string notr="true">background-color: rgba(85, 170, 127,0);
@ -306,13 +248,13 @@ color: rgb(177, 229, 252);</string>
<property name="geometry">
<rect>
<x>10</x>
<y>210</y>
<y>90</y>
<width>80</width>
<height>23</height>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=ConnectCamera,password,SelectImag=IMxx_00F.png</string>
<string>Index=2, Action=ConnectCamera,SelectImag=IMxx_00F.png</string>
</property>
<property name="text">
<string>打开视频</string>
@ -322,13 +264,13 @@ color: rgb(177, 229, 252);</string>
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<y>120</y>
<width>80</width>
<height>23</height>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=FaceBox,SelectImag=IMxx_00F.png</string>
<string>Index=3, Action=FaceBox,SelectImag=IMxx_00F.png</string>
</property>
<property name="text">
<string>人脸框</string>
@ -344,12 +286,28 @@ color: rgb(177, 229, 252);</string>
</rect>
</property>
<property name="statusTip">
<string>Index=0, Action=DeleteUser,SelectImag=IMxx_00F.png</string>
<string>Index=6, Action=DeleteUser,SelectImag=IMxx_00F.png</string>
</property>
<property name="text">
<string>删除用户</string>
</property>
</widget>
<widget class="QPushButton" name="btn_delete_user_id_2">
<property name="geometry">
<rect>
<x>10</x>
<y>270</y>
<width>80</width>
<height>23</height>
</rect>
</property>
<property name="statusTip">
<string>Index=7, Action=UserCount,SelectImag=IMxx_00F.png,groupend=8</string>
</property>
<property name="text">
<string>查看用户</string>
</property>
</widget>
</widget>
<widget class="QLabel" name="P05_01BG">
<property name="geometry">