Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

vision application on movies

Solved!
Go to solution

Hi

we are using NI CVI 2013 and VBAI 2013

 

We want to create an application were we first want to take a movie, then make vision evaluation picture by picture, and finally save the modified movie.

 

can anyone give us a tip how we can do this?

 

thanks

Oliver

 

0 Kudos
Message 1 of 3
(4,854 Views)
Solution
Accepted by OZI

Hi,

 

Vision Development Module supports AVI, that you can use to save a sequence of images as a movie file.

You could use the Vision Acquisiion API to setup your acquisition, and the AVI API to save it to disk. You can directly code that part in CVI.

 

If you'd rather not do programming and use Vision Builder AI for all the task, it is also possible.

You can create an inspection that acquires your images, and use the Image Logging step to save each image in an AVI file (the Image Logging step supports AVI).

 

A second inspection can then be used to read the AVI file (the Simulate Acquisition step supports reading AVI), perform the processing you want to do in Vision Builder AI, and again use the Image Logging step located in the Use Additional Tools step to save the modified images as a new AVI file.

 

Since you mention you use CVI, have you tried the C code generation feature from Vision Assistant (not Vision Builder AI) to directly generate CVI code?

 

Best regards,

 

Christophe

 

Message 2 of 3
(4,851 Views)

Dear Christophe

thanks a lot for this information. That was a great help.

 

Yes we tried the automatic code generation by NI Vision. We will no try to use this for our application

 

best regards

Oliver

 

0 Kudos
Message 3 of 3
(4,837 Views)