Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a .CLF file using IMAQ

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?

 

 

0 Kudos
Message 1 of 10
(7,227 Views)

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.

 

0 Kudos
Message 2 of 10
(7,220 Views)

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

Greg Stoll
LabVIEW R&D
0 Kudos
Message 3 of 10
(7,202 Views)

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

0 Kudos
Message 4 of 10
(7,196 Views)

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

Greg Stoll
LabVIEW R&D
Message 5 of 10
(7,192 Views)
Attached are some samples I am trying to classify. The system needs to have a database capable of 10,000 rims. I believe I can measure the diameter, number of bolt holes and width to break this down into maybe groups of up to 200 images each that I must match. If the image is not found I will need to prompt the operator to view the image, then suggest to create a new part number.
Download All
0 Kudos
Message 6 of 10
(7,159 Views)

Hi,

Where may I find this training interface?

 

Thanks

0 Kudos
Message 7 of 10
(6,111 Views)

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

0 Kudos
Message 8 of 10
(6,100 Views)

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

 

0 Kudos
Message 9 of 10
(4,390 Views)

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 

0 Kudos
Message 10 of 10
(4,376 Views)