Silent failure when multiprocessing and OpenCL used on MacOS
I have been running a long OpenCV pipeline and, in attempt to reduce dropped frames, I decided to implement it with multiprocessing. The reason I chose multiprocessing over Python threads is because...
View ArticleI want to know whether opencv3 and python3 have GPU mode?
I want to know whether opencv3 and python3 have GPU mode,I looked at this [link](https://stackoverflow.com/questions/18552551/python-and-gpu-opencv-functions) and knew that there was no GPU mode when...
View ArticleReal-time Multiple Object Identification in Python
Hello all, I have read through the OpenCV python tutorial but not gain any insights as to how real-time multiple object identification could be done - is template matching a possibility or do we have...
View ArticlePython Camera Calibration
During the Calibration procedures using the python calibration tutorial (https://docs.opencv. org/3.1.0/dc/dbb/tutorial_py_calibration.html), it states that camera intrinsic parameters "results we get...
View Articlehow to detect human fall using OpenCV
My project is detect human fall in elderly people. So I'm using latest **OpenCV in python library** and for human pose estimation i'm using **Humaneva dataset**. I am new to opencv. So, anyone can tell...
View Article(Python) ASSERT: “false” in file qasciikey.cpp
Dear all, I'm on lubuntu 16.04, using OpenCV 3.2.0, Python 2.7 and encountering this error after a brief moment of imshow() displaying a window with my camera stream. **ASSERT: "false" in file...
View Articleexample "digits.py" KO on windows 10 (build) python27
Bonjour , C:\Python27>python Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more...
View ArticleHow to use createThinPlateSplineShapeTransformer with Python?
I am trying to warp some irregular shapes from images to rectangles to ease processing and make the objects in the shape easier to visually inspect, and I am having troubles with the Python...
View ArticleHow to do image process on a file with 100 image
Hey guys im trying to do image process on a file with 100 images. This is the code i used to do just one of the image. img = cv2.imread('frame1.jpg') mimg = cv2.medianBlur(img,15) gimg =...
View ArticleWhat do I do when a function exists in the C++ library but not the python...
I'm currently working on a project involving stereo matching, in python while looking for solutions I found a tutorial containing some functions that would be useful...
View ArticleKeeping count of duration a specific contour is identified
Dear all, I am currently working on a shape identification snippet and need to keep track of the duration of which the particular shape is identified on my screen - i.e. a pseudo confidence level of...
View ArticleFFMPEG and opencv imread
System information (version) OpenCV => 3.3 Operating System / Platform => ubuntu 16.04 Detailed description I extracted frames from a video using ffmpeg.The image format is jpg.The folder...
View ArticleBlurring most of each video frame except for ROI - X,Y coordinates known...
I need a way in Python to take a roughly 30 second clip and blur out most of it, except for a circular ROI which would contain the normal video quality. For each frame of the clip I know what the x,y...
View ArticleWidth dissecting with a line on masked image
Dear all, I am currently working with OpenCV 3.2.0 on Python. Suppose I have a colored object that is centered against a white backdrop, and that I've filtered it to produce a B&W image, I wish to...
View ArticleTypeError: img is not a numpy array, neither a scalar
I have data similar to the following : 10-0 = [ [1915, 387, 1933, 402], [3350, 387, 3407, 391], [842, 505, 863, 521], ] 10-0 being the credentials of an image(to find the path) and the values inside...
View ArticleIncorrect reading of Jpeg2000 images with unstandard encoding
Hi, I am trying to read Jpeg2000 images with an unstandard 15-bit encoding in Python. More precisely I am trying to read Sentinel-2 L1C satellite images provided by ESA. I am using the following code...
View ArticleopenCV's “minAreaRect ”angle dependent algorithm accuracy
I've noticed that for rectangles with large rotation angles, the "minAreaRect" gives results with better accuracy - when the angle is small, the results have a pixel resolution and when it increases,...
View ArticleTrouble in getting 60 fps using webcam(Logitech c922 pro stream)
I am using OpenCV 3.1.0 which I have installed using Anaconda menpo and python 3.5 System config: i7 6700HQ 8 GB ram This is the code:> Blockquote import cv2 import time cap = cv2.VideoCapture(1)...
View Articlehow to know the area of the overlapping rectangles?
As a start i have the coordinates x1,y1 and x2,y2 of a rectangle, on the other hand i have a list of other coordinates for other rectangles. What i want to do is compare the value of the one i already...
View Articledo not lose image quality
Hello, can someone help me, I need to apply a filter before doing a resize () to my image, to not lose pixels and image quality, what filter can I use? Thank you
View Article