Posts

Showing posts from January, 2018
Image
Gaussian Blur:     So, my method is based on Ivan Kutskir, Who has demonstrated Gaussian blur using Fast image convolutions by Wojciech Jarosz. According to Ivan, the convolution of two 2D functions f and g is defined as the volume of product of f and shifted ‘g’.  which means that just by shifting one of the function of two, 2D functions blur can be achieved. Since it determines, how much of ‘f’ will get into the result. The Gaussian blur for a 2D function can be defined as a convolution of that function with 2D Gaussian. The Gaussian function is defined as a standard deviation also we are calling it as a ‘radius’. In discrete finite case, we represent our 2D functions as matrices of values. Now we calculate the volume as a sum. Since Gaussian blur, value is in negative (behind the zero) we will use only all the values between (-r,r) something like −r≤x≤r,−r≤y≤r. This part of Weight is also called kernel. The values are i and j and they are average be...
Fixing Git: So, recently I was facing some issues with pushing my committed file to the git branch name Origin/rahi. The problem all started by git not committing any changes to the branch and making clone branch of same name, which I was able to delete easily by switching back and forth between branches but switching back to ‘Origin/rahi’ was not working. In my further analysis I found that the reason behind the issue was the complexity of the local folder. So, I reinstate the git and local folder, then I clone the repository first. Later I tried to check the status, I got all the result globally, which was strange because I didn’t have git installed globally. Still I tried to commit checking that is it working if I commit any one file from local folder or not.  I found the git could not find the file since again the git was installed locally point globally and was excluding the local folder, Since it consider that to be it’s base for operating globally. I thought let me ...
Image
Introduction to Image Smoothing: So in today’s blog, I will explain what is Image smoothing, why we need it and how it works. I am going to use the method published by Springerlink.com Authors are : Quian Liu, Caiming Zhang, Qiang Guo and Yuanfeng Zhou. According to the article: The main aim of image in digital image processing is to smooth image. The smoothing process has been widely used in many fields, such as image display, image transmission and image analysis, etc. Image smoothing has been a basic module in almost all the image processing systems. Image smoothing is a method of improving the quality of images. The objects processed are images that are corrupted by different factors during the course of generating, transmitting, processing and displaying loaded image. The whole image smoothing process is like a special part of technology that does the process of image recovery.   The first smoothing procedure is called the structural smoothing. Natural images co...
Image
Object Detection Flow:       So, in today’s blog I will explain the process of Object Detection, The first step for program to run is by user interaction to the system without user there is no use. We have developed chat bot already, from which user communicates with the machine, in this user can either types the name of the object they are looking for or they can upload an image to the search engine. We load another image from the database for matching the tagged objects from database image to load these images we are using OpenCV library function ‘imread’,  the first step we take is cropping or slicing. The purpose of slicing image is when we further check the images, we have very less area for program to run, I am making the slicing part as a function of our AI library, we will develop another function which is image smoothing where we partially implement OpenCV methods. After all the steps, We ‘Check image’ using OpenCV, if the image matches t...
Image Splitting:  In Today’s blog, As we understood the difference between image processing, let us now focus how to generate program to detect objects using database. The database is consisting of data collected from our version of Internet Crawlers (Our Spider of World Wide Web), repositories, and search engine AI. Database collected data from world wide web is mostly unstructured, means their data is not arrange properly, our first goals is to recognize website data and make it semi-structured for AI to read them. Now as soon the engine reads the user query it goes thorough the Semi-structured data, recognize the object thorough the user query and saves it to the database. Today, I will discuss the basic steps needed to make an AI to split images and use the program as a function for future development. First step needed is to choose, what library functions are needed to make our AI Library, So we are using PIL (python Image libraries) for cutting and splitting images, cv...
Image
Processing Image:            Processing any kind of function using coding is simple as explaining or instructing a normal human to do task, the difference is that the channel of communication is nothing but programing languages. In Image processing the minute detail are needing to make the image displayed correctly to the screen. Today, we went over some old stuff such as how to utilize the git lab, setting up virtual environment for python, etc. The library we are using are OpenCV, Matplotlib, numpy.         The image processing starts when user uploads an image, which runs under OpenCV function ‘imread’ which reads the image, there are three ways you can read an image using ‘imread’ you can choose between Gray scale, Color or luma. Since, the image is bigger the size from the screen one need to fit the image according to the size of the dimensions of one’s computer screen. Make sure one gets the correct...
What do we need to know to build the Image Recognition Library:                                      Building a library is a same concept of writing books, A book has a lot of information and knowledge. Which can be used in developing some great ideas, which can be used later for development. If we combine all the such books it will become a library, same is with building image recognition library, single or group of people develops an algorithm and uses it to code a standard form of program that works as multipurpose ways; in and as a tool for development                 In most of the time, one can code simple function of AI without knowing anything about it, in that case the program will be just doing one specific type of input and output. Or One can also utilize the...