Drawing Simple Geometrical Shapes on Python from scratch, have you tried it? Now in this series of tasks, I am going to tackle some of the interesting image processing concepts from scratch using Python and then will compare them with the popular OpenCV framework. Last time I did Convolution operations from Scratch and RGB to […]
python
Advent of Code 2022 with Python
Originally published in q-viper.github.io. The advent of Code is a yearly festival for programmers like me where we try to solve different stories to gain stars. I love these challenge because its fun and takes us slowly from beginner level to harder level. I am really weak in competitive programming and DSA stuff but still, […]
Text Analysis with WordCloud in Python
WordCloud in Python can be done in different ways but one of the most popular and easier ones is using the package wordcloud. We can install it using the following way. !pip install wordcloud Requirement already satisfied: wordcloud in c:\programdata\anaconda3\lib\site-packages (1.8.1) Requirement already satisfied: pillow in c:\programdata\anaconda3\lib\site-packages (from wordcloud) (8.0.1) Requirement already satisfied: numpy>=1.6.1 in […]
Simple Cryptography Algorithms in Python
Cryptography Algorithms in Python is quite easy to code and we will cover only few here. Cryptography Algorithms have been around the world for more than centuries and there are still many inscriptions around various places in the world which we do not understand. Here in this blog, we will cover very basic cryptography algorithms […]
Auto-encoders from Scratch in Python
Auto-encoders from scratch will be done over the concept of Neural Network from Scratch that I already did. You can find it on my following blogs. Feed Forward Neural Network from Scratch Convolutional Neural Network from Scratch I also have written Run Length Encoding from Scratch and you can give it a try if you’d […]
Find DateTime in the Text Using Python
Why do we need to find DateTime in the text? In the field of data science, we often have to deal with various kinds of data and one of the common is Text data but sometimes datetime in the text has to be extracted. Before jumping into a topic let’s first start with a problem […]
Multi-threading in Python: Basics
Multi-threading in Python is often used when there are tasks related to I/O bound. But before going further, let’s take a few examples where multi-threading could be used: Downloading images from the web and doing image processing-related tasks. It takes some time to download the image and some time to process it too but these […]
Estimation of Value of Pi in Different Dimension
Estimation of Value of Pi From Area of Circle in Two Dimension Using Monte Carlo import random import math import numpy as np import matplotlib.pyplot as plt N = [100,1000,10000,100000,100000] E = [] true_value = 3.141592 for j in range(len(N)): c= 0 s = 0 I = 0 for i in range(N[j]): x = random.random() […]
Working With Datetime in Python
Working with DateTime in Python can be a challenging job if we do not know the right module to do the right thing. Here we will explore some of the useful modules based on their purpose and application rather than exploring the module as a whole. Using datetime Datetime in Python can be done using […]
PCA From Scratch In Python
PCA is a method of dimensional reduction. When a machine learning method has a large number of features, we must choose the features that contribute the most and ignore the datasets that are less significant. This is where PCA comes into play. Consequently, PCA is an unsupervised method for choosing useful datasets from a huge […]