What is the minimum dataset required for one class?

I'm doing project on electric circuit diagram recognition. I have segmented the components but after feature extraction the classifier does not classify correctly. I have considered 8 images for each class. Is it enough?

Answers (1)

Definitely now enough. Not even close. Consider the MNIST dataset, which is used to train a network on handwritten images for recognition of digits, a task much relatively simpler than classifying a circuit diagram. And even it uses 60000 images for training (about 6000 for each digit).
My suggestion is to use some non-image based classification technique. For example, develop a strategy to extract features of a circuit diagram based on its properties, e.g., number of component, type of connections, type of sources, etc. However, this task in itself can be very complicated.

3 Comments

I have extracted LBP features along with eccentricity, orientation,extent and Euler number for training image of particular class to svm.
Even if you are using SVM, image-based features will still require a large dataset. Even non-image based features will still require quite a large dataset. Also, if you are going to use SVM, then are you sure that these image-based features you mentioned have a strong correlation with the class of circuit diagram?
Ok I will through that.Thanks for your suggestion.

Sign in to comment.

Asked:

on 4 May 2020

Commented:

on 5 May 2020

Community Treasure Hunt

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

Start Hunting!