Posts

MicroPython #1: Introduction and Gearing Up

Image
MicroPython An Inroduction and Firmware Flashing to the Tool MicroPython is re-implemented form of  Python 3  programming language that is optimised to run on microcontrollers and in constrained environments. It is much similar to generic Python programming language. Simply said, MicroPython is Python for Microcontrollers. It only includes a small subset of the Python standard library. It also includes modules to access low-level hardware this means that there are libraries to easily access and interact with the General Purpose Input/Output (GPIO's) of Microcontrollers.  Usually on Microcontrollers, we run Embedded C, C++ or other forms of this language. Here with MicroPython, we can integrate Python environments with MC's and program them. Using Python with MC's extends the power of these small embedded chips and takes it to next level opening vast powerful platform for Embedded Technology Industries, Developers, Hobbyists and also Students. G...

Create gif using Python

Image
Navadeep Ganesh  / November 19, 2019 The Graphics Interchange Format  (GIF), is a bitmap picture design that was created by a group at the online administrations supplier CompuServe drove by American PC researcher Steve Wilhite on June 15, 1987. How to create gif using Python??. Picture to gif It has since come into far reaching use on the World Wide Web because of its wide help and conveyability between numerous applications and working frameworks. There are many softwares to do it maybe, but why not try something self made with python and some other stuff like convert. It is quite easy, you can do it with a couple of lines of code. You gotta have the images, though. That is the hardest part. So, if you have them, it is quick, but if you don’t, you gotta make the images first and then convert them into an animated gif. In the following chapter we will show how to convert some png images into gif. The configuration underpins up to 8 bits for each pi...

Create Personalized QR code using Python

Image
Navadeep Ganesh   November 21, 2019 What is a QR Code?             “Personalised QR code using Python”.A  Quick Response code  is a two-dimensional pictographic code used for its fast readability and comparatively large storage capacity. The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of any kind of data. pyqrcode  module  is a QR code generator. The module automates most of the building process for creating QR codes. This module attempts to follow the QR code standard as closely as possible. The terminology and the encodings used in  pyqrcode  come directly from the standard.           First of all, you should know that there is a library in Python called “pyrqcode” which instantly develops R codes from the data you provide. These ready to install packages are developed by some contributors and Python d...

How to convert an image into a sketch using Python

Image
Navadeep Ganesh October 26, 2019 Featured How to convert image into sketch effect with  OpenCV ,  imageio  and  numpy  packages using  Python ?           Have you ever admired how to convert image into sketch ? Yes, it is possible to create beautiful pencil sketches using some Python packages. Follow up here:          Interesting image filter effects, such as a pencil sketch or a cartoonizer effect, do not have to be very computationally involved to look good. In fact, in order to create a beautiful black-and-white pencil sketch effect, all you essentially need is some blurring and two image blending techniques called dodging and burning. Using  OpenCV ,  imageio  and  numpy  in Python this is how an RGB color image can be converted into a pencil sketch in four simple steps: Convert the RGB color image to grayscale clip. Apply colour inversion in or...