Ask Your Question

nbsrujan's profile - activity

2016-01-06 11:47:43 -0600 received badge  Enthusiast
2016-01-04 01:52:21 -0600 commented question Lucas Kanade Optical Flow Tracking Problem

If points which are to be tracked(from first frame), are not present in frames, they are not tracked properly. When there are less points tracked, algorithm present in Opencv examples, initialized itself. Can you post code snippet, so that we can see what's problem is?

2016-01-04 01:08:18 -0600 commented answer How to get camera id for VideoCapture?

Yes, I did try it. Before 2 years.

2015-12-25 18:56:19 -0600 received badge  Necromancer (source)
2015-12-23 04:18:22 -0600 answered a question Stereo calibration using known locations

No need to calibrate cameras only with Chessboards. Instead if you know object coordinates in world coordinate system(can be object) and corresponding image coordinates, it is straightforward to calibrate camera and estimate intrinsic parameters and distortion parameters of camera. You can use calibrateCamera() function. You also get rotation of translation of camera in world's space of all instances.

2015-12-23 04:00:19 -0600 received badge  Editor (source)
2015-12-23 04:00:07 -0600 answered a question Rigid body motion or 3D Transformation

There is no such function for transforming points from one space to another in OpenCv. Atleast till OpenCv 3.0

2015-12-23 03:41:07 -0600 answered a question depth map from single image

There are methods implemented based on learning features, visual cues. You can refer to paper 3-D Reconstruction from a Single Still Image here. Using this method they have created qualitatively correct 3-d models for 64.9% of 588 images downloaded from the internet, and also extended model to produce large scale 3d models from a few images

2015-12-21 01:06:54 -0600 commented answer How to get camera id for VideoCapture?

Many times it was the same to my surprise. But its better to try once.

2015-12-21 00:52:16 -0600 answered a question How to get camera id for VideoCapture?

From the experience, camera id '0' is for default camera. IN your case it will be 'webcam', if it's working fine. If there are several cameras, then id will me related to USB port number.

2015-11-27 06:42:39 -0600 answered a question Hough circle error

Instead of using cv2.HOUGH_GRADIENT use cv2.cv.CV_HOUGH_GRADIENT

2014-07-03 03:37:31 -0600 received badge  Supporter (source)