5 votes

Is it possible to convert from 2D to 3D form?

[EDITED] Here's how it's done. Steps: 1. Isolate the Road Divider Part. Then, using Houghlines, find out the longest lines in Image. Find out the extrema points that cross image boundary. You got ...
user avatar
  • 161
4 votes

Is it possible to convert from 2D to 3D form?

This looks like a sort of ray tracing problem. If you know the position and orientation of your camera you should be able to calculate the 3x4 projection matrix and its inverse. This should allow you ...
user avatar
  • 685
2 votes

Compare feature vectors of an image in MATLAB

As far as I understood you're seeking the best similarity measuring function. There are zillions of metrics for that purpose, in fact any clustering algorithm such as SVM, K-means and neural network ...
user avatar
  • 1,906
2 votes

Vehicle detection in matlab

What I would try is to : Get the HSL (Hue Saturation Lightness) decomposition of the original picture Only keep the L component Multiply the image you have from the last steps with the image you get ...
user avatar
  • 187
2 votes
Accepted

Background subtraction for object tracking

The seminal paper on background modeling is Adaptive background mixture models for real-time tracking by Stauffer and Grimson. If you have Matlab and the Computer Vision System Toolbox, then you can ...
user avatar
  • 4,911
2 votes

Train Cascade Object Detector example in MATLAB

You are not doing anything wrong. This particular example is there for a quick illustration, and it does not produce a very good detector. It trains a 5-stage detector from a very small training set. ...
user avatar
  • 4,911
2 votes
Accepted

How to sync audio and video signals in MATLAB?

Thanks to helpful comments from @MBaz, I managed to come up with a solution: we can associate multiple audio samples with a single frame using the VideoFileWriter object. This fact and use-case is ...
user avatar
  • 180
1 vote

Real Time Depth Estimation in MATLAB

You would have to connect both cameras to your computer, and either create two webcam objects or two videoinput objects to read ...
user avatar
  • 4,911
1 vote

Alternative for pcshow() function in matlab

pcshow() was implemented in 2015b and in R2015a the equivalent function is called showPointCloud.
user avatar
  • 161
1 vote

Depth estimation from live video stream in matlab

Since you have two webcams you can reconstruct the video scene using the frame sequence. If your webcams happends to be stereo pair (with known extrinsic parameters aka rotation and translation) your ...
user avatar
  • 15
1 vote

Rotated object detection by Viola jones Algorithm

You are correct, Haar features, as well as LBP and HOG are not rotation invariant. I have experimented with vision.CascadeObjectDetector in MATLAB's Computer Vision ...
user avatar
  • 4,911
1 vote

Techniques to reduce delay in detecting face from video using vision.CascadeObjectDetector in matlab

There are a few of things you can try: Definitely move FaceDetect = vision.CascadeObjectDetector; outside of the loop. You only need to create the face detector object once. Re-creating it for every ...
user avatar
  • 23
1 vote

Training own classifiers using trainCascadeObjectDetector for face detection

I know it is not matlab, but this post about training a 'banana' detector is really great and can give you some tips.
user avatar
1 vote
Accepted

Training own classifiers using trainCascadeObjectDetector for face detection

If you want to train the classifiers with your own database, you will only need 'trainCascadeObjectDetector' function and feed your images into the proper arguments (Positive, negative images). The ...
user avatar
1 vote

How to calibrate three orthogonal cameras?

For pairwise stereo calibration try using the Stereo Camera Calibrator app in the Computer Vision System Toolbox. It is much easier to use than Caltech Camera Calibration toolbox. For starters it ...
user avatar
  • 4,911
1 vote
Accepted

How to calibrate three orthogonal cameras?

Use an asymmetric calibration plate. Such as the new circle grid in OpenCV. Check here. You do not need to find the correspondences in the gui, but rather run the calibration directly. Also, do not ...
user avatar
  • 5,207
1 vote

how to detect corner in a digital image using MATLAB?

In the case of video, the best approach to use is the ShiTomasi Corner Detector. (detectMinEigenFeatures). Now, if you want to detect corners that contains some ...
user avatar
1 vote

Is it possible to convert from 2D to 3D form?

If you can calibrate your camera, and if you can detect some reference points on the road surface, then you can get 3D coordinates of the image points that are on the road. This assumes that the road ...
user avatar
  • 4,911

Only top scored, non community-wiki answers of a minimum length are eligible