opencv-python 4.0.0.21
Unofficial pre-built OpenCV 4.0 packages for Python is [available](https://pypi.org/project/opencv-python/4.0.0.21/)
View ArticleHow to move image inside a video
This code is working fine. [output of below code](https://drive.google.com/open?id=1diXrFrx5sMvF3sUouSibi5OA_l9O7RVY)It creates a noise video and moves a circle inside the video from left to right. But...
View Articlepython: how to compute the color distribution of image in the paper with...
I am computing the color distribution of image as mentioned in the paper: https://arxiv.org/pdf/1202.2158.pdf. 3.1.2 Color Distribution To avoid distraction from objects in the background,...
View ArticleProblem with generating point cloud from calibrated images
Hello, i have a problem with generating a point cloud. I have used the opencv Examplecode from [github](https://github.com/opencv/opencv/blob/master/samples/python/stereo_match.py) with some...
View Articlefunction "drawKeypoints" do not work in openCV 4.0.1
I want to use the drawKeypoints function in openCV 4.0.1, but Python writes an error: AttributeError: module 'cv2.cv2' has no attribute 'drawKeypoints' Maybe the latest version of openCV uses a...
View ArticleFiltering a video with python
Hello I'd like to filter a video mp4 with IPython using openCV. Meaning turning a video with color to a white and black video. How can I do that ? Is there any tutorial about it please ? Thanks in...
View ArticleHow to get Full HSV Hue Value Range(0-360 or 0-1 in double) in Python?
I want to edit images and for that i need the Hue Value from the image. I first read the image with cv2.imread function. But when i use cv2.cvtColor function with cv2.COLOR_BGR2HSV or...
View ArticleI try to use hog and svm to train my data and make it can calcify whether...
. import glob import sys PY3 = sys.version_info[0] == 3 if PY3: from functools import reduce import numpy as np import cv2 as cv import cv2 # built-in modules import os import itertools as it from...
View ArticleProblem with imread function
Hello, I start with opencv with python and I do not suceed to load an image with the imread function. I try with the filename, with the path of the image, with \,\\,/ in the path but nothing works. I...
View Articlecalculate optical flow between several consecutive frames
Hi How can I calculate optical flow between several consecutive frames (e.g., every 10 frames), ? and then optical flow computed from each image is transformed into a “flow image" that contains the...
View ArticleCan dnn model made under Python be used under JAVA
I am a new to OpenCV and would like to develop using Python, but the people I support use Java. We are wondering if models created under one programming language be used under another.
View ArticleHow to find the color at a coordinate?
I need to find the colour at a particular coordinate. How could I do this? For example, I load the image as follows: import cv2 import math img = cv2.imread("image.png") x_ccordinate =...
View ArticleVideoCapture freezes immediately after calling in code | Python 3
I'm trying to simply open up a USB Camera but cannot for the life of me figure out what in the world is going on. It seems to be freezing immediately after calling VideoCapture(1) import numpy as np...
View ArticleEditing input layer of opencv dnn Net
I'm using tensorflow model in opencv using `cv.dnn.readNetFromTensorflow`. The problem i'm facing is that, i have to set input blobs of variable sizes. But opencv dnn module requires fixed size of...
View Articlervecs and tvecs are NoneType?
I saw some python codes online for detecting aruco markers, and I combined them together. This is the code:...
View ArticleHow can I reconnect the unconnected lines in a signature using dilation?
 I'm new to python and openCV. I'm trying to reconnect the parts of the signature that are not connected to the rest of the...
View ArticleExercise Problem: Bitwise Operations.
The exercise asks: This includes bitwise AND, OR, NOT and XOR operations. They will be highly useful while extracting any part of the image (as we will see in coming chapters), defining and working...
View ArticleI don't like python
All I want to say is I love cpp, c++ like language, opencv c# wrapper like emgu is perfect. I love static languages, love generic types, interfaces, overloads, I born with it, just simply amazing if I...
View ArticleHow to quickly switch between the videos?
I get a parameter gender from my client application and using that value (male/female/None) I would like to change the video shown on the display. I have written an if-else loop. But the issue is that...
View Articlei want the frame evey second from the stream of my webcam?
I am doing a project in python and i want the every second frame from the steam of my webcam.
View Article