Monthly archives: January, 2018

Measurement of Central Tendency

Central Tendency: A measure of central tendency is a single value that attempts to describe a set of data by identifying the central position within that set of data. As such, measures of central tendency are sometimes called measures of central location. The mean, median and mode are all valid measures of central tendency mean() …

Load a image in OpenCV

In order to load a image in opencv, place the image in a folder/in the same folder where you are executing the code. import cv2 import matplotlib.pyplot as plt img=cv2.imread(‘img1.png’,-1) cv2.imshow(‘image’,img) cv2.waitKey() cv2.destroyAllWindows() Details: cv2.imread(filename[, flags]) Parameters: filename – Name of file to be loaded. flags –Flags specifying the color type of a loaded image: CV_LOAD_IMAGE_ANYDEPTH – …

What is Computer Vision

Computer vision is a field of computer science that works on enabling computers to identify and process images in the same way that human vision does, and then provide appropriate output. For this we use Opencv, dlib libraries. These libraries provide an n-dimentional array of digits. Once we get this array we implement algorithms to …