Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

whenever i run this vi, i am loosing 1 or 2 frames from one avi file to another.why i am loosing this frames?i am building avi of each 4 Gbytes. i am sending the vi. please correct it. thanks.

whenever i run this vi, i am loosing 1 or 2 frames moving from one avi file to another.why i am losing this frames?i am building avi of each 4 Gbytes. i am sending the vi. please correct it. thanks.
0 Kudos
Message 1 of 3
(3,001 Views)
I think you are probably losing frames because the avi writer takes too long to create the new file or write an image, and the next image is lost. Since you didn't wire the input for which frame to extract, I am guessing that it extracts the most recent one.

The solution for this would be to create a fairly large buffer with as many images as your computer can handle, and use the index from the for loop to specify which image to extract. You can use the integer divide to get the remainder after dividing by the number of images in your buffer.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,001 Views)
thanks for your suggestions.being a beginner i did
not understand fully.can you give me a example related
to my problem please?
with regards
0 Kudos
Message 3 of 3
(3,001 Views)