Access OpenCV documentation in spyder

I have Python 2.7.9 and OpenCV 3.1.0 installed on a Windows System. I'm using Spyder 2.3.2 and would love to access documentation for OpenCV in the IDE, however using Ctrl+I on cv2 functions/objects only shows No documentation available. According t...
more »

2017-01-10 10:01 (0) Answers

Average face - algorithm

Quesion and code is at the end I hope this question belongs here and not to the TCS's stack. I am trying to go through algorithms in Turk and Pentland's "Eigenfaces for Recognition". On page 74 one can read (last paragraph of left column): Let t...
more »

2017-01-03 22:01 (1) Answers

Opencv Python Crop Image Using Numpy Array

I am using OpenCV 3.1.0-dev and python 2.7. I am trying to crop out the black exterior of an image I have stitched. The struggle is that there are other pixels in the image that are black so cv2.findcontours returns a very interesting numpy array. ...
more »

2016-12-09 23:12 (1) Answers

How to run OpenCV code without OpenCv Manager

I am using OpenCV4Android version 2.4.10 and i test my code on Samsung Galayx GT-I9300. the problem i have is, that i must download Opencv Manager from play store so that my opencv code runs, otherwise the App would not start. I referred to some post...
more »

2016-11-18 17:11 (2) Answers

Remove background and noise from image

Im trying to remove the background from a video and get a binary images( or 8-bit) where value of the object that moves is 1 and static background is 0. something like this: at first I tried it with getting the difference absDiff() from running a...
more »

2016-11-06 07:11 (1) Answers

Global name 'camera' is not defined in python

In this script :- camera_port = 0 ramp_frames = 400 camera = cv2.VideoCapture(camera_port) def get_image(): global camera retval, im = camera.read() return im def Camera(): global camera for i in xrange(ramp_frames): temp = get_...
more »

2016-10-06 16:10 (1) Answers

Filling holes in image with OpenCV or Skimage

I m trying to fill holes for a chessboard for stereo application. The chessboard is at micro scale thus it is complicated to avoid dust... as you can see : Thus, the corners detection is impossible. I tried with SciPy's binary_fill_holes or simila...
more »

2016-09-24 16:09 (2) Answers

OpenCV Object Detection (HOGDescriptor) on iOS

I'm trying to get the people detector provided by the OpenCV library running. So far I get decent performance on my iPhone 6 but the detection is super bad and almost never correct and I'm not really sure why this is since you can find example videos...
more »

2016-09-12 17:09 (1) Answers

Python opencv sorting contours

I am following this question: How can I sort contours from left to right and top to bottom? to sort contours from left-to-right and top-to-bottom. However, my contours are found using this (OpenCV 3): im2, contours, hierarchy = cv2.findContours(th...
more »

2016-09-09 05:09 (2) Answers

Save Depth camera recording

I have recently purchased an Orbbec Astra camera, which uses the same technology and produces the same style depth map as a Microsoft Kinect. What would be the correct file format to save the depth map frames, How would I go about saving the videos ...
more »

2016-09-08 14:09 (0) Answers

Detect Image object from UIImage using OpenCV

I am completely new for OpenCV, but during googling I came to know about Object Detection & Edge Detection. But, Still not able to figure out proper way to Detect Image from ScreenShot. For Example, If I pass an image having photo inside it lik...
more »

2016-09-07 08:09 (3) Answers

How to link shared object in cmake?

How can I link shared object to my own code in cmake ? I'd like to link OpenCV, I mean libopencv_***.so.3.1 or something like that to my own software package. In that case, I believe the following lines are the answer of this question. ... find_pac...
more »

2016-08-26 22:08 (1) Answers

How to segment blood vessels python opencv

I am trying to segment the blood vessels in retinal images using Python and OpenCV. Here is the original image: Ideally I want all the blood vessels to be very visible like this (different image): Here is what I have tried so far. I took the gr...
more »

2016-07-15 20:07 (2) Answers

OpenCV used in maven modules

Lets say that I have 4 Maven modules: -main |-core (OpenCV is included here) |-web (REST services that should use core services with OpenCV) |-app (simple desktop app that also uses OpenCV through core services) I want to do it like this in ord...
more »

2016-06-26 19:06 (0) Answers

Off screen rendering on a linux virtual machine

I'm currently working on a Linux virtual machine (Ubuntu 16-04 LTS) that has no GPU (because the cluster it runs on has no GPU). I'm using the following simple C++ code to generate a thumbnail for a .PLY 3D model without opening a window and renderi...
more »

2016-06-23 12:06 (1) Answers