Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

region of interest

when making aregion of interest and tracking with webcam there is aproplem that some times it is detected and some times not by moving it even if i made it close or far

what should i do ? please

0 Kudos
Message 1 of 15
(5,053 Views)

Hello,

 

Can you offer a little more information on what you are trying to do? It sounds like you are trying to track a certain pattern on the screen as it moves. Is that right? This may be helpful is getting you started: https://decibel.ni.com/content/docs/DOC-25399

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 2 of 15
(5,040 Views)

i use vision builder to make atemplete and then count the number of templetes

 

0 Kudos
Message 3 of 15
(5,033 Views)

in the video that you shared labview is tracking the object where ever it moves
when i do it,some times it can't find it or find another object

0 Kudos
Message 4 of 15
(5,028 Views)

So are you saying that the template you are looking for in the region of interest is not found when it should be? Or are you saying that it is not there and you want something to happen based on whether it is there or not? Please provide more details of what you are trying to do.

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 5 of 15
(5,011 Views)

when i open the webcam and define aregion of interest in some object by moving the object vision builder or labview can't detect the region

 

0 Kudos
Message 6 of 15
(5,000 Views)

It sounds like you want to be doing a Match Pattern step or a Geometric Matching step. Match Pattern should find a template that is the same size. Geometric Matching will find a template regardless of size. If you are having locating it and it is inside of the region of interest you define, try lowering the score needed for a match. It could be that your images are different enough not to meet the requirements.

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 7 of 15
(4,982 Views)
thks my application is to know if a pcb contains all its components or not so i will make a template for every kind of components by using match pattern and define limits and if the number of components equals the limits it will be pass if not it will be fail you said geomatric match pattern will be better than match pattern .don't you? do you have any other idea for this application?
0 Kudos
Message 8 of 15
(4,976 Views)

If the part you are inspecting is going to be at a set distance, I would create pattern templates for every part you are looking for. I would use the Pattern Match and define the region of interest to look for each part. You could do pass fail based off of whether every part is there or not or whether the parts are in the right position.

Cameron T
Applications Engineer
National Instruments
0 Kudos
Message 9 of 15
(4,967 Views)

this is what iam doing .
so do you think ishould use geometric match pattern or match pattern to detect atemplet regardless its size when moving the camera

0 Kudos
Message 10 of 15
(4,964 Views)