AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

AFroge with streaming array of bytes

The forum is to discuss topics related to different areas of image processing and computer vision.

AFroge with streaming array of bytes

Postby GerKusen » Sun May 22, 2016 11:13 am

Hi.

I wandering if could using Afroge with Image bytes (Array)?
I'm receiving image array of bytes from camera by UDP (Ethernet),
and I wanna use Afroge for motion detection.

Please advice.

Thanks.
GerKusen
 
Posts: 3
Joined: Sun May 22, 2016 11:09 am

Re: AFroge with streaming array of bytes

Postby andrew.kirillov » Sun May 22, 2016 3:45 pm

Hello,

If your array is unmanaged, then simply wrap it into UnmanagedImage. If it is a managed array, then fixed statement may help to get unmanaged pointer and then same UnmanagedImage class.

So basically you need to find a way of getting either UnmanagedImage or standard .NET's Bitmap object.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3453
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: AFroge with streaming array of bytes

Postby GerKusen » Mon May 23, 2016 7:31 am

Thanks for your reply.

So where can I find UnmanagedImage class?? (Which namespace is that located)
Do you mean ProcessFrame function?

Thanks again.

Regards.
GerKusen
 
Posts: 3
Joined: Sun May 22, 2016 11:09 am

Re: AFroge with streaming array of bytes

Postby andrew.kirillov » Mon May 23, 2016 7:51 am

GerKusen wrote:So where can I find UnmanagedImage class?? (Which namespace is that located)

See the link in my previous post? Try clicking it and checking what is there.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3453
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: AFroge with streaming array of bytes

Postby GerKusen » Wed May 25, 2016 8:01 am

Thanks for your feedback.
GerKusen
 
Posts: 3
Joined: Sun May 22, 2016 11:09 am




Return to Image Processing and Computer Vision