
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10476 Articles for Python

4K+ Views
In this article, we will learn the difference between Core Python and Django Python What is Python? Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built-in data structures, together with dynamic binding and dynamic typing, make it particularly appealing to use as a scripting or glue language to connect existing components. Python is popular among programmers due to its relative simplicity, support for many packages and modules, and the fact that its interpreter and standard libraries are free. These benefits, as well as many more, motivate programmers to learn Python. What is Django? Django is ... Read More

389 Views
In this article, we will learn some good Python projects for an intermediate programmer. These projects are neither too difficult nor too simple. There will be some challenges while developing these projects, and you will have a great time solving them. We classified the projects into three groups − Web Applications − Generally, developers are in charge of both the front-end and back-end components of the application. As a Python developer, your primary attention would be on the back end, where all business logic is implemented. ... Read More

6K+ Views
In this article, we will see if Is Python good for developing games? If yes, what are the primary reasons for it, and if no, what are the reasons? Python as a game development language has become popular in the entertainment industry. It's not just because Python is popular in other domains of technology or because it's free and open source (though those are both great reasons). Python is utilized in game development because it is a robust and versatile programming language. It automates many of the most typical activities related to game creation, and there are numerous resources to ... Read More

396 Views
In this article, we will learn the tips to get a job as a Python developer. You can become a Python Developer in various ways because no specific background or experience is required. But it all starts with a specialized set of skills, specifically mastery of the Python programming language. Many developers believe that the Python programming language offers many advantages over other programming languages. Python Developer A Python Developer is a member of a software team who is skilled in the creation, design, and delivery of Python-based computer applications and other systems. In Python-based development projects, a python developer ... Read More

15K+ Views
We will use the Haar cascade classifier to detect the license number plate in the image. A haar cascade classifier is an effective object detection method. It is a machine learning based approach. To train a number plate classifier, the algorithm initially needs a lot of positive images (images of number plates) and negative images (images without number plates). The classifier is trained from these positive and negative images. It is then used to detect objects (number plates) in other images. We can use already trained haar cascades for object detection. How to Download Haarcascade? You can find different ... Read More

3K+ Views
We will use the Haar cascade classifier for smile detection in an image. A haar cascade classifier is an effective object detection method. It is a machine learning based approach. To train a haar cascade classifier for smile detection, the algorithm initially needs a lot of positive images (images with smile) and negative images (images without smile). Then the classifier is trained from these positive and negative images. It is then used to detect smiles in other images. We can use already trained haar cascades for smile detection. For smile detection in the input image, we need two haar ... Read More

9K+ Views
We could find chessboard corners in an image using cv2.findChessboardCorners() and to draw the chessboard corners with a pattern, we could use cv2.drawChessboardCorners(). Look at the below syntaxes for these two methods − ret, corners = cv2.findChessboardCorners(img, patterSize, None) cv2.drawChessboardCorners(img, patternSize, corners, ret) Steps To find the patterns in a chessboard, you can use the steps given below − Import the required library. In all the following examples, the required Python library is OpenCV. Make sure you have already installed it. Read the input image of a chessboard using cv2.imread() and convert it to grayscale using cv2.cvtColor(). ... Read More

2K+ Views
A haar cascade classifier is an effective object detection method. It is a machine learning based approach. To train a haar cascade classifier for cat face detection, the algorithm initially needs a lot of positive images (images with cat faces) and negative images (images without cat faces). The classifier is trained from these positive and negative images. It is then used to detect cat faces in other images. We can use already trained haar cascades for smile detection. For smile detection in the input image we need two haar cascades one for face detection and other for smile detection. We ... Read More

6K+ Views
We can use the already trained haar cascade classifier to detect the faces in the image. To detect faces OpenCV provides us with different haar cascades as xml files. We will use haarcascade_frontalface_alt.xml for human face detection in the image. The detected face coordinates are in (x, y, w, h). To crop and save the detected face we save the image[y:y+h, x:x+w]. How to Download Haarcascades? You can find different haarcascades following the GitHub website address − https://github.com/opencv/opencv/tree/master/data/haarcascades To download the haar cascade for human face detection click on the haarcascade_frontalface_alt.xml file. Open it in raw format, right click ... Read More

984 Views
k-Nearest Neighbor (kNN) is a simple classification algorithm for supervised learning. To implement kNN in OpenCV, you can follow the steps given below − Import the required libraries OpenCV, NumPy and Matplotlib. We define two classes Red and Blue each having 25 numbers. Then generate training data for these two classes using a random generator. Next, we generate the Labels for each training data. The label for Red family numbers is 0 and for Blue family members is 1. Now plot the Red and Blue family members. Generate a new number using the random generator and plot it. Initiate ... Read More