About Surveillance / SubjectAppered and ImageCaptured

General information about Neurotechnology and its software

About Surveillance / SubjectAppered and ImageCaptured

Postby demirsoy » Mar 15, 2017 12:05

Hello,

I have a trouble of getting face image of subject given by OnSubjectAppeared and also image of camera given by OnImageCaptured. I just want to these as bitmap so that i can use it.

When I look at simple code of sentiveillance, i can get what i want from :
Code: Select all
Surveillance.ImageCaptured += ForwardSurveillanceEvent;
Surveillance.SubjectAppeared += ForwardSurveillanceEvent;
Surveillance.SubjectTrack += ForwardSurveillanceEvent;
Surveillance.SubjectDisappeared += ForwardSurveillanceEvent;


However in SubjectAppeared, there is a property named as image but it gets all the time null.

Code: Select all
private void OnSubjectAppeared(SurveillanceEventData e)
{
            //There is e.Image, but null
}


About this issue, if you can help me I"ll be very pleased.

Thanks in advance.


What I"m working on is => SentiVeillance_5_0_SDK_TrialSamplesSurveillanceCSSimpleSurveillanceSampleCS


Regards.
demirsoy
 
Posts: 1
Joined: Mar 15, 2017 11:57

Re: About Surveillance / SubjectAppered and ImageCaptured

Postby MartynasV » Mar 17, 2017 10:24

Hello,

You can get bitmap image this way:
Code: Select all
e.Image.ToBitmap(); // Image is NImage type


In SimpleSurveillanceSampleCS, in CountSubjects.cs form, in "private void ForwardSurveillanceEvent(object sender, NSurveillanceEventArgs e)" method, when case is "NSurveillanceEventType.SubjectAppeared" you can get image this way:
Code: Select all
e.EventDetails.OriginalImage
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 370
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania

Re: About Surveillance / SubjectAppered and ImageCaptured

Postby tputtewar » Sep 04, 2018 13:03

Hello,

I am using the trial surveillance sdk and I am new to it.

I would like to know how would I capture unidentified unique subjects using NSurveillanceListeners.
Actually I know that in during surveillance using bestscore the subject is identified and this is for subjects that are known to me already. But when multiple subjects are appearing in the surveillance screen and some of those subjects are unknown, so I would like to add those unidentified/unknown subjects also to my list. How can I do this??
tputtewar
 
Posts: 1
Joined: Sep 03, 2018 17:04

Re: About Surveillance / SubjectAppered and ImageCaptured

Postby MartynasV » Sep 07, 2018 09:34

tputtewar wrote:Hello,

I am using the trial surveillance sdk and I am new to it.

I would like to know how would I capture unidentified unique subjects using NSurveillanceListeners.
Actually I know that in during surveillance using bestscore the subject is identified and this is for subjects that are known to me already. But when multiple subjects are appearing in the surveillance screen and some of those subjects are unknown, so I would like to add those unidentified/unknown subjects also to my list. How can I do this??

Hello,

You can use any of our Samples or Tutorials(e.g. "SDK\Tutorials\Surveillance\CS\WatchListCS") and in "SurveillanceSubjectDisappeared" event, if there were no matches found, you can take that face and enroll to the system(or your list).
Martynas V
Neurotechnology
MartynasV
Neurotechnology
 
Posts: 370
Joined: Feb 27, 2015 11:24
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: No registered users and 1 guest

cron