10-29-2008 01:38 PM
I have a application where I will be identifying multiple types of parts. The system needs to be capable of self teaching itself, should the part not match any of the images. Only will be 1 part in each image. I likely will have 200-300 different types of parts.
Can you create a .clf (image classification file) in IMAQ?
What is the limit number of classifications?
10-29-2008 02:43 PM
Hi,
As far as I can see, first you need to call IMAQ Create Particle Classifier for create a classifier session, then teach it, then save classification file with IMAQ Write Classifier File. Don't forget to dispose session with IMAQ Dispose Classifier.
The limit of classifiers samples is unknown (at least for me). I think you will see your limit when performance going down sinficantly...
Andrey.
10-30-2008 01:10 PM
ToddAN -
The Vision Development Module also ships with a Classification Training Interface that lets you easily train and save a .clf file without having to write a program.
Greg Stoll
Vision R&D
National Instruments
10-30-2008 02:01 PM
Greg,
This will be an automated teach system, where if a match is not found the system needs to automaticly add a new classification.
If I have 500 different parts and one might be a match, is using the classification method the best way, or should I be working more to just simple Geometric Matching.
Todd
10-30-2008 03:48 PM
Todd -
Sounds like an interesting application! In this case, you could use the Classification Training Interface to initially train, but you will need to add samples and such programmatically, and the Vision Development Module ships with interfaces to do this.
It sounds like the classification method would be the best way, although if you post a few sample images I'm sure others will be able to give you more specific advice.
Greg Stoll
Vision R&D
National Instruments
11-05-2008 10:45 AM
10-16-2012 07:03 PM
Hi,
Where may I find this training interface?
Thanks
10-17-2012 06:58 AM
David,
The classifier is part of the vision tools. For my application I created multiple items to look for in the images and then created a bin database based on some key parameters. When I get a new image I read the database and compute % of matches to each key item.
Todd
12-12-2018 07:22 AM
can we create .clf file in labview.can we use it for face recognition purpose.is so then how to create .clf file in labview.does anyone have example how to create .clf file
12-13-2018 10:04 AM
You can use IMAQ Create Custom Classifier VI and IMAQ Write Classifier File VI. There is an example called Particle Classification VI in the NI Example Finder which can be reached through the help menu in LabVIEW