How to get the exact count of people by face detection in python(opencv)?
I am working on getting the total count of people along with gender in a sample video or webcam. Gender identification is working well but in counting it will show the count of people in that frame...
View Articlepython - cv2 alias issue
I'm playing videos with this piece of code: class Player(threading.Thread): def __init__(self, video): threading.Thread.__init__(self) self.config = Conf.Conf() self.video = video self.cap =...
View ArticleHow to input all images from a folder to a function in python instead of...
I have this function called "analyze_picture". This is called when I specify the image file with path. How to automate this by adding loop so that this analyze_picture function is called for all the...
View ArticleScanning Dates and Pertinent Numbers from Degraded Documents
Hi, I have a task in digitizing old scanned Documents (Filled forms with either hand-written, type-writ or stamped. with the relevant dates. It would be a tedious task to open every Document and read...
View ArticleSubscribing to multiple image stream on ROS for OpenCV
Hi there, Working in a Python environment using ROS as the platform, I am having trouble displaying both image streams from separate topics. The below code snippet simply freezes when I attempt to...
View ArticleOpencv python faster than C++?
I am trying to time the houghcircle in python and c++ to see if c++ gives edge over processing time (intuitively it should!) ###Versions * python: 3.6.4 * gcc compiler: gcc (Ubuntu...
View ArticleObtaining opencv UMat shape in python
Is there a direct way to obtain shape (number of cols and rows) of UMat array without converting it first to numpy object in Python?
View ArticleNeed help looking for a set of symbols in a video.
Hi, I am currently working on a school project where the goal is to create a "robot" that would be able to orientate itself using a set of symbols, those can be anything. What I've tried so far is...
View ArticleStereo rectification: undistortPoints() different results from...
I have a calibrated stereo camera rig and want to rectify the coordinates of some tracked image points. From the stereo calibration the camera matrices (ML, MR), the distortion coefficients (DL, DR),...
View ArticleHow to mask and unmask a particular object in an image using its location
Hello guys, It is going to be a bit long explanation (I have included the code, and hence it is bit long), so please bear it with me. I have an image...
View ArticleConnect nearby points to line
How can I transform this picture:  Into something like this: 
View ArticleRunning TensorFlow network in OpenCV 3.3.1
I want to use TensorFlow models on OpenCV on a system without requiring to import the TensorFlow library. My ultimate aim is to do it in C++. I tried to run the TensorFlow(>=1.4) MobileNet-SSD on...
View ArticleWhen loading caffe VGG-16 I get: error: (-215) (idx == -1 && size() == 1) ||...
Hey guys, First of all, I want to thank authors of DNN module I think it is great even though the process of running own networks is not well documented yet. I am trying to load VGG-16_3C4x from [model...
View ArticleHow to do multiple template matching with multiple objects by opencv Python.
Hi, I'm just beginner to the python and opencv. Based on this Template Matching, the following code is detect multiple object: import numpy as np import cv2 img =...
View ArticleHow do I install the Pycharm/Python/OpenCV combination?
Pycharm 2017.3 Python 3.6.4 OpenCV 3.4.1 Anaconda 64-bit Py3.5 Pip 9.0.3 Pypa 3/26/2018 I am trying to put together a working configuration of Pycharm/Python/OpenCV for Windows 7 64 bit. I have read...
View ArticleDetection and Segmentation
I want to predict multiple objects, and then comparing there are linear or not. Let say, for instance, specifying one row must be the same orientation. Also how can I group also de same objects to...
View Articlecv2.FlannBasedMatcher
python opencv 3.4.0 cv2.FlannBasedMatcher(dict(algorithm = 1, trees = 5), {}) the algorithm=1 what is meaning? The Randomized k-d Tree ? The Priority Search K-Means Tree ? The Hierarchical Clustering...
View ArticlePython - Trying to Find Average Intensity of a ROI
I am trying to find the average intensity of a binarized ROI. If the average intensity of the ROI is greater than a cutoff point (meaning if the ROI is mostly white), I want a rectangle to be drawn...
View Articlehow to modify video using pixel array or shader?
Crossposted from this link https://python-forum.io/Thread-How-to-modify-video-using-pixel-array-or-shader Hello guys I am trying to apply some effects to my video.. what I need is to apply some effects...
View ArticleBuilding OpenCV w/ Python 3 + Qt5 Support - DLL problems
Hi all. Been struggling with this all day. I'm working on compiling OpenCV 3.4.1 with Python 3.6.4 (32-bit) and Qt 5.10.1 support using MinGW 5.3.0 (32-bit) on Windows 10 64-bit. I'm compiling from...
View Article