Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

can't find vision acquisition express VI in control palette

still it is not solving the sorting issue. There should be some means to go with the diameter of the coins. will thresholding , particle filter or particle filter take care of that
0 Kudos
Message 31 of 45
(2,002 Views)
Hi, Muks,
Thank you very much for your reply and kindness!
I'm not sure if I need to open a new thread for the following question?
I kind of have the same error with Error Message -1074395247: Invalid template descriptor .
this error is not because I run the code likes " Pattern matching example".
It is because I get the static image a few minutes when USB camera is on. And I use command "CWIMAQVision.ReadImageAndVisionInfo", which need to set the path. In my case, I don't have to save the image. The only what I need really is a temp image to get the position of point such as the centroid. 
Likes this coin sorter, we only need to get a temp image and compare it with template, which may extract from the first image of one coin. So, we don't have to save these images, right? I am stuck by this for a long time. 
Thank you very much!  
Guangli 
0 Kudos
Message 32 of 45
(1,999 Views)

Can I hold  many images in Golden template as reference image?

and compare those with the single acquired image??

0 Kudos
Message 33 of 45
(1,973 Views)
Can I hold many images in Golden template as reference image? and compare those with the single acquired image??
0 Kudos
Message 34 of 45
(1,971 Views)
Can I hold many images in Golden template as reference image? and compare those with the single acquired image??
0 Kudos
Message 35 of 45
(1,966 Views)

Parvathi wrote:
still it is not solving the sorting issue. There should be some means to go with the diameter of the coins. will thresholding , particle filter or particle filter take care of that

I am going to tell this one last time. You cant measure using template matching.You can measure using particle filter. Can you post what you have tried?

0 Kudos
Message 36 of 45
(1,950 Views)

guangli wrote:
Hi, Muks,
Thank you very much for your reply and kindness!
I'm not sure if I need to open a new thread for the following question?
I kind of have the same error with Error Message -1074395247: Invalid template descriptor .
this error is not because I run the code likes " Pattern matching example".
It is because I get the static image a few minutes when USB camera is on. And I use command "CWIMAQVision.ReadImageAndVisionInfo", which need to set the path. In my case, I don't have to save the image. The only what I need really is a temp image to get the position of point such as the centroid. 
Likes this coin sorter, we only need to get a temp image and compare it with template, which may extract from the first image of one coin. So, we don't have to save these images, right? I am stuck by this for a long time. 
Thank you very much!  
Guangli 

Do you mean to say you want to create templates dynamically?

0 Kudos
Message 37 of 45
(1,949 Views)

Muks, Thank you for asking! 

 

No, I just want to get the template in first shot from UAB Cam. Then I will get static image per minute(example) from USB Cam. I will search template in these static images right after I got one. I will tell the position when I find the template. Actually, the template is only one point with some stuff, like braiding point with braids. After I get the position, I will decide to tell how the motor move.

 

0 Kudos
Message 38 of 45
(1,946 Views)

guangli wrote:

Muks, Thank you for asking! 

 

No, I just want to get the template in first shot from UAB Cam. Then I will get static image per minute(example) from USB Cam. I will search template in these static images right after I got one. I will tell the position when I find the template. Actually, the template is only one point with some stuff, like braiding point with braids. After I get the position, I will decide to tell how the motor move.

 


can it be done in this way
1. You create a template.
2. The position accuracy you determine by thresholding and particle analysis.
3. You apply the template to see the match.
 
0 Kudos
Message 39 of 45
(1,927 Views)
I'm not sure what's your means really. My template likes the attached images. I use the rectangle to define the ROI. When I define the ROI, I try put the centroid of the rectangle to braiding point. That means I'm going to find the braiding point when I find the ROI. Then I know the position of centroid. Actually, I could get the position of centroid when I open the image inside folder by some LV commands with path operation. My problem is kind of that I  cannot operate the image just after I get from the USB cam without saving. In fact, I need to track the motion of the braiding point.So, I really don't have to save the images since I only need get the position difference between sequent frames.
Download All
0 Kudos
Message 40 of 45
(1,913 Views)