Introduction to Python OpenCV
Python OpenCV Usage:- For main modules- run pip install OpenCV-python
This method loads an image from the specified file and if the image cannot be read due to some error, it returns an empty matrix.
If we specify Read more…
What is a linter?
Linters are the tools that analyze code to detect various categories of lint which help in making code better organized, shows warnings and errors and hence, improves quality. The linters can be broadly categorized as following:
Code with potentially unintended Read more…
Python code to fetch Unread emails from a Mailbox
Script to check and fetch the unread inbox using the following packages.
IMAP is an email retrieval protocol which does not download the emails. It just reads them and displays them Read more…
How to add Text to Image with Php and Python
Step 1: Call the python file from PHP with the following arguments.
$ filePathForPython: Specify the location of the python file.
$imageName: Dynamic name of the image.
$ imageText: Text to be written on the image Read more…
Error while installing python packages (pyinstaller)
While we were installing pyinstaller as per requirement in our window (8) system, it was causing the following error:
After struggling very much, we found that it was due to conflict with the Perl packages Read more…
Introduction to SequenceMatcher in Python and Calling Python Script in PHP
SequenceMatcher is a class in Python which compares pairs of sequences of any type.SequenceMatcher is a class which comes under the difflib module. It provides classes and functions for comparing sequences. It can be Read more…