10-26-2009 09:37 AM
Hello everyone,
I am using Axis network camera to capture an image and the analyze it.
I made a great progress thanks to this forum and i am almost there. At this point, i am connecting to the camera using Active X, then saving the picture then opening it and analyzing it. but i wonder if there is a more direct way to do this using the feature 'Get image '
the active X method outputs a buffer and i have no clue about how to use this buffer to create an image and draw a region of interest on it.
Can anyone help me?
Thanks
10-27-2009 05:07 AM
Hey Fad,
What kind of datatype is this buffer you get from the Axis driver?
Did you also ask Axis Support for any examples on that?
Christian
11-11-2009 02:11 AM
Hey Fad,
Just something additional. In a few weeks the new Vision Acquisition Software will be released which enables IMAQdx to acquire images of IP Cameras.
I'm running an Axis 206 using the new IMAQdx without problems.
Christian
11-19-2009 07:56 AM
Hello Christian,
Thank you for giving me hope to resolve this issue 🙂
Can you tell me where can i get this new version from? is it out yet? and is it compatible with the labview 7.1?
I really need to capture the stream and analyze it directly because saving then reading the image is time consuming 😞
and maybe if anyone knows how to just capture the stream that appears in the active x box or maybe the whole front panel please let me know how to do it.
Thanks
11-19-2009 08:23 AM
Hi Fadi,
I'm sorry but I don't know exaclty when the new driver will be released and no, there will be no support for LabVIEW 7.x.
Christian
12-02-2009 04:28 AM
12-02-2009 04:32 AM
Hello,
I got the above attached data from Axis Support team. I am still stuck in converting the buffer to a real picture and use it.
Can anyone help? i just need to know how to use this Active X method!
Thanks
12-02-2009 10:44 AM
You need to recreate the code in the first image. Create an ActiveX method and select the Axis method from all the ActiveX items. The output is apparently a JPEG string (from second image), so the output should be converted to a string. Currently, there is no way to convert a JPEG string directly to an image, so you will need to save the string then read it as an image. If you are going to do this a lot, you might want to look into a RAM disk to make it really fast.
Bruce