- An Intelligent Know Your Customer (iKYC) banking system with database manipulation and facial ID login functions.
- Import
train.yml
- See
requirements.txt
conda create -n 3278 python=3.8conda activate 3278pip install -r requirements.txt
- Run
PowerShellorcmdas Administrator net start MySQL(check MySQL service name inservices.msc)mysql -u root -pALTER USER 'root'@'localhost' IDENTIFIED BY '123456'(change password)source database.sql(load database)
- https://www.figma.com/file/gKQlpgou7UHzjYl5jCZPiS/Customer-Journey
- https://drive.google.com/drive/folders/11_nJgVyp2L4RZMP-9o4Mvd1Pp2sOc8Dt
- Start
Qt Designer(normally located at%INSTALL_PATH%\anaconda3\envs\3278\Lib\site-packages\qt5_applications\Qt\bin\designer.exe). - Fix the window size to
1200 x 800and delete the menu bar and the status bar. - Rename every added
QObjectfor future identification. - Customize styles with
styleSheetunder theQWidgetproperty.- Notice that relative paths used in
styleSheetdo not take effect inQt Designerbut essentially work fine.
- Notice that relative paths used in
- Themes:
#8be5fd(light blue in logo)#004094(dark blue in logo)
- Backgrounds:
- Windows:
#f7f6fb(grey white) - Sections:
#ffffff(white)
- Windows:
- Text:
- Titles:
#003780(darker blue) - Main text:
#000000(black) - Non-essential text:
#646464(grey black)
- Titles:
- Buttons:
- Light-color buttons:
- Normal:
HSV(hue, saturation, value) - Hover:
HSV(hue, saturation, value - 10) - Pressed:
HSV(hue, saturation, value - 20)
- Normal:
- Dark-color buttons:
- Normal:
HSV(hue, saturation, value) - Hover:
HSV(hue, saturation, value + 15) - Pressed:
HSV(hue, saturation, value)
- Normal:
- Light-color buttons:
conda activate 3278pyuic5 -x example.ui -o example.py
- Create a subclass of the
StackedWindowclass. - Initiate the window
loadUi("example.ui", self)- Connect the slots (see below)
- Override
activate()anddeactivate()if necessary (for switching windows)
self.exampleButton.clicked.connect(exampleFunc)orself.exampleButton.clicked.connect(lambda: exampleFunc(exampleArgs))
winList.append(ExampleWindow())(optional)switch_to(idx), whereidxshould be predefined as a constant
- Caution: Do not create duplicate windows!




