In various projects we need to analyze images. This program is to analyze an image for its details. However, this is a collection of some of the basic functions of opencv. It’s up to you to develop the code to
A Simple Animation with Opencv
In this, I will explain to you about performing a simple animation with Opencv. As usual you have to open a new IDLE file and start the program by importing necessary libraries. import cv2 import numpy as np import
Detect a Green Color Object with OpenCV
OK, Let’s step a little further. Let’s programme your computer to detect colors. Now you know what are the prerequisites for this purpose. Open a new file in IDLE. Import OpenCV and numpy libraries. import cv2 import numpy as
Record a video with OpenCV and python
First of all you need to install python and OpenCV on your computer. As editor I will use IDLE. (of cause you no that, do you?) Now let’s start programming. Open IDLE and take a new file. Import opencv library
Play a Video with Opencv
Open a new file in IDLE. Type following. The program is self explanatory. import cv2 # importing necessary libraries import numpy as np cv2.startWindowThread() # we use this thread to create a new window for our video cv2.namedWindow(“Video Player”,