From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-12-2010 03:09 AM
I am using a webcam. I need to continuously compare two images captured by webcam that have 10 sec time interval between them. This means that image 1 is at time t(in sec) and image 2 is at time t+10(in sec).At every time t (of course after 10sec), the two images should be compared. If same image then I will recieve true and if different then I will false. So how can I make this image viewing after 10sec and how can I compare the images?
Thank you for your help!
01-12-2010 03:26 AM
01-12-2010 03:27 AM
What exactly do you mean by comparing?I am asking this because if there are certain features that you want to compare you can alwys use a template and check for these in the acquired images.
When you have declared enough timeout (More than 10 seconds). And when you "compare" two subsequent images in a loop the vi will automatically wait till the image is acquired
01-12-2010 03:45 AM
I will test the vi now and see if there is time interval between them.
As for the comparison, I need to compare the whole image. That is if there is no movement for 10sec the output value is true. If there is movement, it remains false.
I have attached a sample of my camera vi which i will be using
01-12-2010 04:00 AM
How are you going to ensure consistency. Is there any part of the image that is sure to move along with the entire image. If yes then try concentrating there instead of whole image.
01-12-2010 04:03 AM
01-12-2010 04:24 AM
I attached version 8.0
01-12-2010 04:28 AM
I need it like a security camera. When there is movement then the alarm is on (which is false in my case) and when no movement the alarm is off (which is true in my case).
Note:I need it for something else other than security camera
01-12-2010 04:40 AM
01-12-2010 04:52 AM
It doesnt matter because I will have the exact image even the background must be the same to have a true outpuy. I just need to know how to compare images so can you please help me with that part?