Questions tagged [opencv3.0]

OpenCV (Open Source Computer Vision) is a library for real time computer vision. (This tag is for questions about OpenCV 3.0. Use [opencv] for general questions.)

OpenCV is an open source computer vision library

Version 3.0 released in June 2015. Its documentation can be found here.

For more information, see .

2111 questions
0
votes
0 answers

To detect a moving ball in monochromatic images using opencv

I have been working on a problem to identify the moving ball in monochromatic images in various lightning conditions using opencv. Following are the steps I had done: 1. Blurred the image using a median/Gaussian blur 2. Thresholded the image using…
Sai krishna
  • 168
  • 9
0
votes
1 answer

Find a similar contour in a dark image

I am searching a way to detect a specific contour (boundary) in this picture: I have already detected a similar contour (drawn in red) and would like detect the closest contour. The red contour is almost the same; just a litle smaller. I try with…
artoon
  • 729
  • 2
  • 14
  • 41
0
votes
2 answers

Simulate Lens flare and chromatic aberration using python

I have a set of images. I have to use them for training a network. I want to simulate a lens flare effect and chromatic aberration on the images. I have tried to find some function in OpenCV, scikit and other python image library but no help from…
decipher
  • 498
  • 2
  • 4
  • 16
0
votes
1 answer

Cropping an Image in using OpenCV function for Python

I need an OpenCV function for python which allows cropping an image for given dimensions. I am using cv2.UMat() for loading images onto GPU and processing there itself. So, below index slicing option won't work on UMat…
Dharam
  • 267
  • 1
  • 4
  • 12
0
votes
0 answers

packet is too small while reading frames from video

I have a single script which takes an arbitrary number of frames from a video and saves them as images: here goes the code. def get_n_frames(n, k, src, dst): # read n frames from video in src and save them as images on folder dst. If dst does not…
Rodrigo Laguna
  • 1,796
  • 1
  • 26
  • 46
0
votes
1 answer

issue when I run ffmpeg

ffmpeg was working fine until I got the following error message. ffmpeg: error while loading shared libraries: libopencv_core.so.2.4: cannot open shared object file: No such file or directory I tried to install opencv again I followed this…
MGM
  • 133
  • 6
0
votes
1 answer

Unable to display the result images

Im using python 3.6 and opencv 3.4 version on windows platform been trying to develop this application changing the result = cv2.imread(args["result_path"] + "/" + resultID) to result = cv2.imread(args["result_path"] + "\" + resultID) didnt help I…
0
votes
1 answer

Android - OpenCVLoader.initAsync run exception

i make android program that use OpenCV , i import OpenCV 2.4.9 module to my project and it worked, but when i run the app make unfortunately error and close i found in android studio that the (AndroidRuntime: FATAL EXCEPTION: main) error made…
0
votes
1 answer

OpenCV Python laser dot tracking extracting x and y coordinates and store it to different variables

enter image description hereI have a code here that tracks a laser dot.What I want is to get the x and y coordinates of the laser dot and store it to separate variables. Here is the code: import cv2 import numpy as np cap =…
jomsamago
  • 27
  • 1
  • 8
0
votes
1 answer

Unable to find SIFT or xfeatures2d in OpenCV Python

I recently switch back to python for facial detection and pattern recognition using OpenCV 3.4.1 However when running OpenCV for point recongnition, I get the error AttributeError: module 'cv2.cv2' has no attribute 'SIFT_create' I have read that…
David Lie
  • 65
  • 2
  • 9
0
votes
1 answer

What to use as inputs in OpenCV calibrateCamera cameraMatrix and distCoeffs parameters?

I'm trying to get calibrateCamera working on my Node.js backend. The library is working fine, but I'm having trouble with the OpenCV functions not giving any error messages if I have faulty inputs. I'm kind of flying in the dark. But that's beside…
ekuusi
  • 57
  • 8
0
votes
1 answer

Anaconda/OpenCV: Installing with Tracking features

Hopefully someone can point me in the right direction here. I'm using the latest release of Anaconda (Python 2.7). I would like to use it with OpenCV with the tracking features. I've tried various versions of the cv2.pyd file including 3.0, 3.1,…
maffoo
  • 107
  • 1
  • 8
0
votes
0 answers

How do I add two points together in Java OpenCV?

I was wondering how to add two points together in Java? I am trying to convert some C++ code to Java. Here is the C++ code: for (cv::Rect &eye : eyes) { rectangle(frame, faces[0].tl() + eye.tl(), faces[0].tl() + eye.br(), cv::Scalar(0,…
0
votes
0 answers

Gstreamer critical on Opencv3.0 with VideoCapture

I'm working on stereovision and i had to calibrate a dual webcam setup. And for this I have to take some picture from webcam but i cannot reach or open the cameras. I am on OpenCV 3.0, ubuntu 16 AND I'm programming in C++. I'm using VideoCapture…
0
votes
1 answer

Find neighborhood for each ConnectedComponent region

I used SuperpixelSLIC from OpenCV to compute superpixels and get the labels of each one, now I need to compute the neighborhood for each label. For example, considering 8-connected case in the array below, the neighborhood for label 1 es {2, 5}, for…