Skip to main content

Posts

Showing posts with the label python

Final Year Project - Iris Recognition for Credit Card Fraud Detection with Python

Iris Recognition for Fraud Detection Project Images Product Description Iris Recognition is a an application developed using Python. A GUI based iris recognition system made with  PySimpleGUI . Integrated with MySQL database. Customers can register their account, while creating the user account card details will be generated automatically and will be mailed to the customers. They can then login and upload their iris image choosing which part of the eye to be uploaded. Customers can withdraw amount from their account : during the process, users can upload an iris image and compare with their existing image in the database. If the verification was successful payment will be done, else will show error message. (Supported only .BMP images) --------------USERS OF THE SYSTEM------------------ Customer : Can Register Can Login Deposit Amount Withdraw Amount Upload Iris Image View Transaction Details Visualize Iris Recognition Sequence Admin Can Add Customer Generate ATM Card Details View ...

Create a Simple GUI using Python and PySimpleGUI

  Create a Simple GUI using Python and PySimpleGUI T oday, We are working on with a new python GUI package, which is simple and understandable. It was developed to ease the GUI development. You are not required to write many lines of code to build up a beautiful GUI. PySimpleGUI is  a wrapper for tkinter and PyQT. Web based applications can be developed easily using PySimpleGUI.  Installing PySimpleGUI: pip install pysimplegui pip3 install pysimplegui We can also use pip along with python to install packages: python - m pip install pysimplegui After finishing up all the steps above, now, let's get into the process of creating our first GUI application. Firstly, we need to import the PySimpleGUI package: import PySimpleGUI as sg Now, we have imported our GUI package and provided an alias for the package as  sg.  Next, we need to write a layout. Layout is the building block of our GUI, it consists of rows and columns. layout = [ [ sg . Text ( "Hello" ) ] ] Obser...

How to Connect Python with MySQL Database

  How to Connect Python with MySQL Database T oday, We will learn on how to connect Python with Mysql. This tutorial will let you know how python can be used with database applications. Before starting with our tutorial, we need to have MySQL installed in your System. You can download the MySQL database form   https://www.mysql.com/downloads/ In order to connect with MySQL, Python requires Mysql Driver. So, as the next step towards database connectivity we can now install MySQL Driver. Open Command Prompt or terminal and type the following commands. We will be using PIP for faster and safer installation of the packages.  Command to Install MySQL Connector python - m pip install mysql - connector Now, we have done installing Mysql Connector. Our next process is to test the installation. Let's do that by simply importing the mysql connector package. import mysql . connector If the above import statement did not produce any errors or warnings, then hurrah! we've successfull...

How to Connect SQLite With Python - Step By Step Guide

  How to Connect SQLite With Python - Step By Step Guide In this tutorial, we will be learning about SQLite database and how to connect it with python for the development of database applications. SQLite as the name says, it's a simple, single file database. There is no need of downloading and installing additional files. SQLite comes packed with most python installations. From version 2.5.x onward the SQLite module comes along as a default module. Importing SQLite Module: import sqlite3 Creating a database in SQLite is very simple as if we create a a directory or a file. Database in SQLite is created during the connection phase. Database will be stored as a file in the specified directory.  Now, let's connect to our database: Create a Database and make a connection: import sqlite3 con = sqlite3 . connect ( 'mydata.db' ) From the above code block, we can see that, the connect method is provided with a parameter  'mydata.db' .  This is what our database name is...