MATLAB Answers


I have created my own face (image) database, how to validate the image database using Matlab

Asked by Bindu
on 29 Dec 2012

I have created my own face (image) database consisting of 1500 images/ I have a doubt as to how to validate the image database using Matlab


What do u mean actually? Please Expand your question

read the images into matlab and then save the workspace as a mat file your input database is ready..

1 Answer

Answer by Walter Roberson
on 18 Jan 2013

You could use a "leave one out" method. Train against all the images except one, then ask to classify that one. Do this for each image in turn. If any image classifies poorly, either your classification method is poor or else the image is not a good representative of its class.


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!