OpenCV Python with MariaDB for Absolute Beginners

OpenCV Python with MariaDB for Absolute Beginners
Author: Vivian Siahaan,Rismon Hasiholan Sianipar
Publsiher: SPARTA PUBLISHING
Total Pages: 256
Release: 2019-09-16
Genre: Computers
ISBN: 9182736450XXX

Download OpenCV Python with MariaDB for Absolute Beginners Book in PDF, Epub and Kindle

This book is MariaDB version of our previous works. This book consists of a series of step-by-step tutorials for creating mini projects in integrating pyqt, python, opencv, and MariaDB database. By studying this book, you will understand how to program python GUIs involving opencv and databases in applications. This book is suitable for beginners, students, engineers, and even researchers in a variety of disciplines. No advanced programming experience is needed, and only a few school-level programming skills are needed. In the first chapter, you will learn to use several widgets in PyQt5: Display a welcome message; Use the Radio Button widget; Grouping radio buttons; Displays options in the form of a check box; and Display two groups of check boxes. In chapter two, you will learn to use the following topics: Using Signal / Slot Editor; Copy and place text from one Line Edit widget to another; Convert data types and make a simple calculator; Use the Spin Box widget; Use scrollbars and sliders; Using the Widget List; Select a number of list items from one Widget List and display them on another Widget List widget; Add items to the Widget List; Perform operations on the Widget List; Use the Combo Box widget; Displays data selected by the user from the Calendar Widget; Creating a hotel reservation application; and Display tabular data using Table Widgets. In chapter three, you will create dan configure database. In this chapter, you will create Suspect table in crime database. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for this table. In chapter four, you will create a table with the name Feature_Extraction, which has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. The six fields (except keys) will have a VARCHAR data type (200). You will also create GUI to display, edit, insert, and delete for this table. In chapter five, you will create two tables, Police and Investigator. The Police table has six columns: police_id (primary key), province, city, address, telephone, and photo. The Investigator table has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for both tables. In chapter six, you will create two tables, Victim and Case_File. The Victim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The Case_File table has seven columns: case_file_id (primary key), suspect_id (foreign key), police_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. You will create GUI to display, edit, insert, and delete for both tables as well.

OpenCV Python with MySQL for Absolute Beginners

OpenCV Python with MySQL for Absolute Beginners
Author: Vivian Siahaan,Rismon Hasiholan Sianipar
Publsiher: SPARTA PUBLISHING
Total Pages: 422
Release: 2019-09-14
Genre: Computers
ISBN: 9182736450XXX

Download OpenCV Python with MySQL for Absolute Beginners Book in PDF, Epub and Kindle

This book consists of a series of step-by-step tutorials for creating mini projects in integrating pyqt, python, opencv, and mysql database. By studying this book, you will understand how to program python GUIs involving opencv and databases in applications. This book is suitable for beginners, students, engineers, and even researchers in a variety of disciplines. No advanced programming experience is needed, and only a few school-level programming skills are needed. In the first chapter, you will learn to use several widgets in PyQt5: Display a welcome message; Use the Radio Button widget; Grouping radio buttons; Displays options in the form of a check box; and Display two groups of check boxes. In chapter two, you will learn to use the following topics: Using Signal / Slot Editor; Copy and place text from one Line Edit widget to another; Convert data types and make a simple calculator; Use the Spin Box widget; Use scrollbars and sliders; Using the Widget List; Select a number of list items from one Widget List and display them on another Widget List widget; Add items to the Widget List; Perform operations on the Widget List; Use the Combo Box widget; Displays data selected by the user from the Calendar Widget; Creating a hotel reservation application; and Display tabular data using Table Widgets. In chapter three, you will learn Basic MySQL statements including how to implement querying data, sorting data, filtering data, joining tables, grouping data, subquerying data, dan setting operators. Aside from learning basic SQL statements, you will also learn step by step how to develop stored procedures in MySQL. First, we introduce you to the stored procedure concept and discuss when you should use it. Then, we show you how to use the basic elements of the procedure code such as create procedure statement, if-else, case, loop, stored procedure’s parameters. Chapter four will help you get started with MySQL Python connector. You will learn about the MySQL Python connector’s features and how to install MySQL Connector/Python in your local system. Chapter five will help you understand the basics of MySQL data manipulation. In chapter six, you will create dan configure database. In this chapter, you will create Suspect table in crime database. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for this table. In chapter seven, you will create a table with the name Feature_Extraction, which has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. The six fields (except keys) will have a VARCHAR data type (200). You will also create GUI to display, edit, insert, and delete for this table. In chapter eight, you will create two tables, Police and Investigator. The Police table has six columns: police_id (primary key), province, city, address, telephone, and photo. The Investigator table has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for both tables. In chapter eight, you will create two tables, Victim and Case_File. The Vicbtim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The Case_File table has seven columns: case_file_id (primary key), suspect_id (foreign key), police_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. You will create GUI to display, edit, insert, and delete for both tables as well.

The Absolute Beginner s Guide to Learn Database Programming Using Python GUI with MariaDB and SQL Server

The Absolute Beginner   s Guide to Learn Database Programming Using Python GUI with MariaDB and SQL Server
Author: Vivian Siahaan,Rismon Hasiholan Sianipar
Publsiher: SPARTA PUBLISHING
Total Pages: 535
Release: 2020-01-16
Genre: Computers
ISBN: 9182736450XXX

Download The Absolute Beginner s Guide to Learn Database Programming Using Python GUI with MariaDB and SQL Server Book in PDF, Epub and Kindle

This book is designed to introduce programmers to programming and computational thinking through the lens of exploring database. This book offers Python programmers one place to look when they need help guiding to Python as one of the fastest-growing computer languages including Web and Internet applications. This clear and concise introduction to the Python language is aimed at readers who are already familiar with programming in at least one language. This hands-on book introduces the essential topic of coding and the Python computer language to beginners and pogrammers of all ages. This book explains relational theory in practice, and demonstrates through two projects how you can apply it to your use of MariaDB and SQL Server databases. This book covers the important requirements of teaching databases with a practical and progressive perspective. This book offers the straightforward, practical answers you need to help you do your job. This hands-on tutorial/reference/guide to MariaDB and SQL Server is not only perfect for students and beginners, but it also works for experienced developers who aren't getting the most from both databases. In designing a GUI and as an IDE, you will make use Qt Designer. In the first chapter, you will learn to use several widgets in PyQt5: Display a welcome message; Use the Radio Button widget; Grouping radio buttons; Displays options in the form of a check box; and Display two groups of check boxes. In chapter two, you will learn to use the following topics: Using Signal / Slot Editor; Copy and place text from one Line Edit widget to another; Convert data types and make a simple calculator; Use the Spin Box widget; Use scrollbars and sliders; Using the Widget List; Select a number of list items from one Widget List and display them on another Widget List widget; Add items to the Widget List; Perform operations on the Widget List; Use the Combo Box widget; Displays data selected by the user from the Calendar Widget; Creating a hotel reservation application; and Display tabular data using Table Widgets. In chapter three, you will learn: How to create the initial three tables project in the School database: Teacher, Class, and Subject tables; How to create database configuration files; How to create a Python GUI for inserting and editing tables; How to create a Python GUI to join and query the three tables. In chapter four, you will learn how to: Create a main form to connect all forms; Create a project will add three more tables to the school database: Student, Parent, and Tuition tables; Create a Python GUI for inserting and editing tables; Create a Python GUI to join and query over the three tables. In chapter five, you will join the six classes, Teacher, TClass, Subject, Student, Parent, and Tuition and make queries over those tables. In chapter six, you will create dan configure database. In this chapter, you will create Suspect table in crime database. This table has eleven columns: suspect_id (primary key), suspect_name, birth_date, case_date, report_date, suspect_ status, arrest_date, mother_name, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for this table. In chapter seven, you will create a table with the name Feature_Extraction, which has eight columns: feature_id (primary key), suspect_id (foreign key), feature1, feature2, feature3, feature4, feature5, and feature6. The six fields (except keys) will have a VARCHAR data type (200). You will also create GUI to display, edit, insert, and delete for this table. In chapter eight, you will create two tables, Police and Investigator. The Police table has six columns: police_id (primary key), province, city, address, telephone, and photo. The Investigator table has eight columns: investigator_id (primary key), investigator_name, rank, birth_date, gender, address, telephone, and photo. You will also create GUI to display, edit, insert, and delete for both tables. In chapter nine, you will create two tables, Victim and Case_File. The Victim table has nine columns: victim_id (primary key), victim_name, crime_type, birth_date, crime_date, gender, address, telephone, and photo. The Case_File table has seven columns: case_file_id (primary key), suspect_id (foreign key), police_id (foreign key), investigator_id (foreign key), victim_id (foreign key), status, and description. You will create GUI to display, edit, insert, and delete for both tables as well.

Learning PyQt5 with MariaDB for Absolute Beginners

Learning PyQt5 with MariaDB for Absolute Beginners
Author: Vivian Siahaan,Rismon Hasiholan Sianipar
Publsiher: SPARTA PUBLISHING
Total Pages: 368
Release: 2019-09-07
Genre: Computers
ISBN: 9182736450XXX

Download Learning PyQt5 with MariaDB for Absolute Beginners Book in PDF, Epub and Kindle

This book is mariadb-based python programming Intentionally designed for various levels of interest and ability of learners, this book is suitable for students, engineers, and even researchers in a variety of disciplines. No advanced programming experience is needed, and only a few school-level programming skill are needed. In the first chapter, you will learn to use several widgets in PyQt5: Display a welcome message; Use the Radio Button widget; Grouping radio buttons; Displays options in the form of a check box; and Display two groups of check boxes. In chapter two, you will learn to use the following topics: Using Signal / Slot Editor; Copy and place text from one Line Edit widget to another; Convert data types and make a simple calculator; Use the Spin Box widget; Use scrollbars and sliders; Using the Widget List; Select a number of list items from one Widget List and display them on another Widget List widget; Add items to the Widget List; Perform operations on the Widget List; Use the Combo Box widget; Displays data selected by the user from the Calendar Widget; Creating a hotel reservation application; and Display tabular data using Table Widgets. In third chapter, you will learn: How to create the initial three tables project in the School database: Teacher, Class, and Subject tables; How to create database configuration files; How to create a Python GUI for inserting and editing tables; How to create a Python GUI to join and query the three tables. In fourth chapter, you will learn how to: Create a main form to connect all forms; Create a project will add three more tables to the school database: Student, Parent, and Tuition tables; Create a Python GUI for inserting and editing tables; Create a Python GUI to join and query over the three tables. In the last chapter, you will join the six classes, Teacher, TClass, Subject, Student, Parent, and Tuition and make queries over those tables.

Python in a Nutshell

Python in a Nutshell
Author: Alex Martelli
Publsiher: "O'Reilly Media, Inc."
Total Pages: 734
Release: 2006-07-14
Genre: Computers
ISBN: 9780596100469

Download Python in a Nutshell Book in PDF, Epub and Kindle

This volume offers Python programmers a straightforward guide to the important tools and modules of this open source language. It deals with the most frequently used parts of the standard library as well as the most popular and important third party extensions.

The Practical Guides on Deep Learning Using SCIKIT LEARN KERAS and TENSORFLOW with Python GUI

The Practical Guides on Deep Learning Using SCIKIT LEARN  KERAS  and TENSORFLOW with Python GUI
Author: Vivian Siahaan,Rismon Hasiholan Sianipar
Publsiher: BALIGE PUBLISHING
Total Pages: 386
Release: 2023-06-17
Genre: Computers
ISBN: 9182736450XXX

Download The Practical Guides on Deep Learning Using SCIKIT LEARN KERAS and TENSORFLOW with Python GUI Book in PDF, Epub and Kindle

In this book, you will learn how to use TensorFlow, Keras, Scikit-Learn, OpenCV, Pandas, NumPy and other libraries to implement deep learning on recognizing traffic signs using GTSRB dataset, detecting brain tumor using Brain Image MRI dataset, classifying gender, and recognizing facial expression using FER2013 dataset In Chapter 1, you will learn to create GUI applications to display image histogram. It is a graphical representation that displays the distribution of pixel intensities in an image. It provides information about the frequency of occurrence of each intensity level in the image. The histogram allows us to understand the overall brightness or contrast of the image and can reveal important characteristics such as dynamic range, exposure, and the presence of certain image features. In Chapter 2, you will learn how to use TensorFlow, Keras, Scikit-Learn, Pandas, NumPy and other libraries to perform prediction on handwritten digits using MNIST dataset. The MNIST dataset is a widely used dataset in machine learning and computer vision, particularly for image classification tasks. It consists of a collection of handwritten digits from zero to nine, where each digit is represented as a 28x28 grayscale image. The dataset was created by collecting handwriting samples from various individuals and then preprocessing them to standardize the format. Each image in the dataset represents a single digit and is labeled with the corresponding digit it represents. The labels range from 0 to 9, indicating the true value of the handwritten digit. In Chapter 3, you will learn how to perform recognizing traffic signs using GTSRB dataset from Kaggle. There are several different types of traffic signs like speed limits, no entry, traffic signals, turn left or right, children crossing, no passing of heavy vehicles, etc. Traffic signs classification is the process of identifying which class a traffic sign belongs to. In this Python project, you will build a deep neural network model that can classify traffic signs in image into different categories. With this model, you will be able to read and understand traffic signs which are a very important task for all autonomous vehicles. You will build a GUI application for this purpose. In Chapter 4, you will learn how to perform detecting brain tumor using Brain Image MRI dataset. Following are the steps taken in this chapter: Dataset Exploration: Explore the Brain Image MRI dataset from Kaggle. Describe the structure of the dataset, the different classes (tumor vs. non-tumor), and any preprocessing steps required; Data Preprocessing: Preprocess the dataset to prepare it for model training. This may include tasks such as resizing images, normalizing pixel values, splitting data into training and testing sets, and creating labels; Model Building: Use TensorFlow and Keras to build a deep learning model for brain tumor detection. Choose an appropriate architecture, such as a convolutional neural network (CNN), and configure the model layers; Model Training: Train the brain tumor detection model using the preprocessed dataset. Specify the loss function, optimizer, and evaluation metrics. Monitor the training process and visualize the training/validation accuracy and loss over epochs; Model Evaluation: Evaluate the trained model on the testing dataset. Calculate metrics such as accuracy, precision, recall, and F1 score to assess the model's performance; Prediction and Visualization: Use the trained model to make predictions on new MRI images. Visualize the predicted results alongside the ground truth labels to demonstrate the effectiveness of the model. Finally, you will build a GUI application for this purpose. In Chapter 5, you will learn how to perform classifying gender using dataset provided by Kaggle using MobileNetV2 and CNN models. Following are the steps taken in this chapter: Data Exploration: Load the dataset using Pandas, perform exploratory data analysis (EDA) to gain insights into the data, and visualize the distribution of gender classes; Data Preprocessing: Preprocess the dataset by performing necessary transformations, such as resizing images, converting labels to numerical format, and splitting the data into training, validation, and test sets; Model Building: Use TensorFlow and Keras to build a gender classification model. Define the architecture of the model, compile it with appropriate loss and optimization functions, and summarize the model's structure; Model Training: Train the model on the training set, monitor its performance on the validation set, and tune hyperparameters if necessary. Visualize the training history to analyze the model's learning progress; Model Evaluation: Evaluate the trained model's performance on the test set using various metrics such as accuracy, precision, recall, and F1 score. Generate a classification report and a confusion matrix to assess the model's performance in detail; Prediction and Visualization: Use the trained model to make gender predictions on new, unseen data. Visualize a few sample predictions along with the corresponding images. Finally, you will build a GUI application for this purpose. In Chapter 6, you will learn how to perform recognizing facial expression using FER2013 dataset using CNN model. The FER2013 dataset contains facial images categorized into seven different emotions: anger, disgust, fear, happiness, sadness, surprise, and neutral. To perform facial expression recognition using this dataset, you would typically follow these steps; Data Preprocessing: Load and preprocess the dataset. This may involve resizing the images, converting them to grayscale, and normalizing the pixel values; Data Split: Split the dataset into training, validation, and testing sets. The training set is used to train the model, the validation set is used to tune hyperparameters and evaluate the model's performance during training, and the testing set is used to assess the final model's accuracy; Model Building: Build a deep learning model using TensorFlow and Keras. This typically involves defining the architecture of the model, selecting appropriate layers (such as convolutional layers, pooling layers, and fully connected layers), and specifying the activation functions and loss functions; Model Training: Train the model using the training set. This involves feeding the training images through the model, calculating the loss, and updating the model's parameters using optimization techniques like backpropagation and gradient descent; Model Evaluation: Evaluate the trained model's performance using the validation set. This can include calculating metrics such as accuracy, precision, recall, and F1 score to assess how well the model is performing; Model Testing: Assess the model's accuracy and performance on the testing set, which contains unseen data. This step helps determine how well the model generalizes to new, unseen facial expressions; Prediction: Use the trained model to make predictions on new images or live video streams. This involves detecting faces in the images using OpenCV, extracting facial features, and feeding the processed images into the model for prediction. Then, you will also build a GUI application for this purpose.

Deep Learning with Python

Deep Learning with Python
Author: Francois Chollet
Publsiher: Simon and Schuster
Total Pages: 597
Release: 2017-11-30
Genre: Computers
ISBN: 9781638352044

Download Deep Learning with Python Book in PDF, Epub and Kindle

Summary Deep Learning with Python introduces the field of deep learning using the Python language and the powerful Keras library. Written by Keras creator and Google AI researcher François Chollet, this book builds your understanding through intuitive explanations and practical examples. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Machine learning has made remarkable progress in recent years. We went from near-unusable speech and image recognition, to near-human accuracy. We went from machines that couldn't beat a serious Go player, to defeating a world champion. Behind this progress is deep learning—a combination of engineering advances, best practices, and theory that enables a wealth of previously impossible smart applications. About the Book Deep Learning with Python introduces the field of deep learning using the Python language and the powerful Keras library. Written by Keras creator and Google AI researcher François Chollet, this book builds your understanding through intuitive explanations and practical examples. You'll explore challenging concepts and practice with applications in computer vision, natural-language processing, and generative models. By the time you finish, you'll have the knowledge and hands-on skills to apply deep learning in your own projects. What's Inside Deep learning from first principles Setting up your own deep-learning environment Image-classification models Deep learning for text and sequences Neural style transfer, text generation, and image generation About the Reader Readers need intermediate Python skills. No previous experience with Keras, TensorFlow, or machine learning is required. About the Author François Chollet works on deep learning at Google in Mountain View, CA. He is the creator of the Keras deep-learning library, as well as a contributor to the TensorFlow machine-learning framework. He also does deep-learning research, with a focus on computer vision and the application of machine learning to formal reasoning. His papers have been published at major conferences in the field, including the Conference on Computer Vision and Pattern Recognition (CVPR), the Conference and Workshop on Neural Information Processing Systems (NIPS), the International Conference on Learning Representations (ICLR), and others. Table of Contents PART 1 - FUNDAMENTALS OF DEEP LEARNING What is deep learning? Before we begin: the mathematical building blocks of neural networks Getting started with neural networks Fundamentals of machine learning PART 2 - DEEP LEARNING IN PRACTICE Deep learning for computer vision Deep learning for text and sequences Advanced deep-learning best practices Generative deep learning Conclusions appendix A - Installing Keras and its dependencies on Ubuntu appendix B - Running Jupyter notebooks on an EC2 GPU instance

Instant MongoDB

Instant MongoDB
Author: Amol Nayak
Publsiher: Packt Publishing Ltd
Total Pages: 147
Release: 2013-01-01
Genre: Computers
ISBN: 9781782169710

Download Instant MongoDB Book in PDF, Epub and Kindle

Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks. MongoDB Starter is a fast and practical guide designed to help you start developing high-performance and scalable applications using MongoDB.MongoDB Starter is ideal for developers who are new to MongoDB and who need a no-nonsense guide on how to start working with it. No knowledge of MongoDB is required to follow this book, but some knowledge of C++ would be helpful.