File Exchange

image thumbnail

March 2012 demo files for "Computer Vision with MATLAB"

version (6.16 MB) by Bruce Tannenbaum
Demo files for "Computer Vision with MATLAB" held on March 2012.


Updated 01 Sep 2016

View Version History

View License

Demo files for "Computer Vision with MATLAB" held on March 2012.
The demos presented in the webinar, in order, are:
1. Feature-based Registration (ImageRegistrationSURF3.m)
2. Object Recognition (MatchCard.m and ReplaceCard.m)
3. Face Detection (FaceDetection.m)
4. Histogram-based Tracking (FaceTracker.m)

Cite As

Bruce Tannenbaum (2021). March 2012 demo files for "Computer Vision with MATLAB" (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (19)

Mubeen SHaikh

Nice work help me a lot

Bruce Tannenbaum

The webinar related to this entry is no longer available.

Swati Joshi

Bruce Tannenbaum

Hi Wu,

detectSURFFeatures is a function in Computer Vision System Toolbox. You need to have that toolbox to run this code.


Wu Feng

Hi Bruce,

I can't find the function detectSURFFeatures,could email it to me? my email is

Best wishes

Bruce Tannenbaum

Hi val,

I suggest changing the settings for feature detection to capture more features. That will help increase the likelihood that vision.GeometricTransformEstimator will work properly.



Dear Bruce,

In the 1st demo, what shall I do if the distorted image is flipped? It looks that none of the 3 transforms in vision.GeometricTransformEstimator work for me, i.e. I always get one bad match (in addition to 5 good) which throw recovery off.

Bruce Tannenbaum

The offset in "MarchCard.m" is for creating a visualization. We combine the image of the card and the image of me holding the card. Then we project the feature points found in the card image into the combined image, so that we can draw the lines properly. HTH!


Asking about Match Card.m.What is the use of offset pts in reference image?

Bruce Tannenbaum

Hi Ahmed,
Every deck of cards has a slightly different pattern to the face cards. ReplaceCard only works with the deck of cards from MathWorks, which we give away at events and tradeshows. But you can make it work with your object by replacing the reference image with one of your choice. The reference image is "MWqueen_crop_small.bmp".

Hope this helps!


Hi i tried to use replacecard() but it does not locate the object. Video runs fine but no detection. Bruce Tannenbaum can you help. I want to detect kitchenware object in videos.

Bruce Tannenbaum

The code for the most recent webinar will be available within days.


can you please upload the matlab code for Computer Vision with MATLAB: Part 2?


Can anybody recommend me some other video lectures which are like this? easy to understand, demonstration, code,...

Ahmed Ateto


Mr Smart


would I find a way to save this webinar to my hard disk :)

Image Analyst

Can you give a link to your original webinar?

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!