5.5.8 - June 13, 2022 - Code Project’s SenseAI Version 1 - See V2 here https://ipcamtalk.com/threads/codeproject-ai-version-2-0.68030/

I'm going to watch this for a while before I make the jump to SenseAI. DS is working well with detection times in the 50-100ms range.

As an aside, is there a way, besides scripting, to shut down face recognition and such? Unless SenseAI has made a quantum leap in facial recognition on the PC level it's more of a waste of time and processor than anything else. I don't see a use for Scene Classification and Portrait Filter either. Maybe someone can explain what Background Removal is, too, and if/why it might be needed.
 
So what is the time range in milliseconds and what processor?
 
  • Like
Reactions: JNDATHP
I'm going to watch this for a while before I make the jump to SenseAI. DS is working well with detection times in the 50-100ms range.

As an aside, is there a way, besides scripting, to shut down face recognition and such? Unless SenseAI has made a quantum leap in facial recognition on the PC level it's more of a waste of time and processor than anything else. I don't see a use for Scene Classification and Portrait Filter either. Maybe someone can explain what Background Removal is, too, and if/why it might be needed.
You can turn off each of the modules by editing the modulesettings.json that is in each of the module folders, change the highlighted to False and the module will be off. I think they are going to add the ability to turn off module on the dashboard.

1660095215722.png
 
How does facial recognition work now? Do I turn it off in bi and let senseai handle it, then add the names as an object to alerts?
 
How does facial recognition work now? Do I turn it off in bi and let senseai handle it, then add the names as an object to alerts?
So I had a chance to play around with this today and found that it works surprisingly well. I have my front door camera setup to recognize my face and trigger an alert which unlocks my front door. However, until I'm confident that it is 100% accurate I'm only going to have this enabled while I'm home.

To set this up I went into CodeProject.AI Explorer and registered my face using a selfie I took with my iPhone's camera and named it accordingly. I then went into my BI settings and in the AI tab I enabled Facial recognition and added the same image I used in CodeProject.AI Explorer along with the same name. a face and named it appropriately.

Screen Shot 2022-08-10 at 1.50.57 PM.png

I then went into the camera's settings and in the trigger tab under Artificial Intelligence I added my name to the "To confirm" field.

Screen Shot 2022-08-10 at 1.59.35 PM.png

From there I added an on alert action that sends an http request to my home automation system that unlocks my front door.

Screen Shot 2022-08-10 at 2.10.35 PM.png
 
Last edited:
So I had a chance to play around with this today and found that it works surprisingly well. I have my front door camera setup to recognize my face and trigger an alert which unlocks my front door. However, until I'm confident that it is 100% accurate I'm only going to have this enabled while I'm home.

To set this up I went into CodeProject.AI Explorer and registered my face using a selfie I took with my iPhone's camera and named it accordingly. I then went into my BI settings and in the AI tab I enabled Facial recognition and added the same image I used in CodeProject.AI Explorer along with the same name.



I then went into the camera's settings and in the trigger tab under Artificial Intelligence I added my name to the "To confirm" field.



From there I added an on alert action that sends an http request to my home automation system that unlocks my front door.
Excellent work, but which faces is it using? The ones we add to bi, or the ones we add directly to sensai? Seems redundant to do both. Sensai's face training seems a bit more advanced than bi's current integration
 
Excellent work, but which faces is it using? The ones we add to bi, or the ones we add directly to sensai? Seems redundant to do both. Sensai's face training seems a bit more advanced than bi's current integration
Not sure, let me disable them one at a time to see if I can tell which one is being used.
 
  • Like
Reactions: looney2ns
I appreciate it
So I deleted the face that I added in BI and then went into CodeProject.AI Explorer and the face I had previously added had been removed as well. I went back into BI and re-added the face and it shows up in CodeProject.AI Explorer. So apparently you just need to add the face to BI for this to work.
 
  • Like
Reactions: looney2ns
So I deleted that face that I added in BI and then went into CodeProject.AI Explorer and the face I had previously added had been removed. I went back into BI and re-added the face and it shows up in CodeProject.AI Explorer. So apparently you just need to add the face to BI for this to work.
Perfect. Thanks! My old faces aren't showing up so I'll just start from scratch
 
  • Like
Reactions: looney2ns
I think "save unknown faces" is not working

I also noticed some faces that were detected with deepstack are not recognizable with sensai. Couldn't reinput about half of my face captures


edit: i also noticed sensai supports multiple faces under the same object tag (as opposed to dude_1, dude_2, dude_3, etc), but BI does not support this since it uses simple file names in a folder.
 
I'm also getting terrible processing times with this compared to DS. Cuda is working fine according to the dashboard and default models are disabled (using ipcam-combined). Went from 150ms DS to 500ms sensai
 

Attachments

  • Screenshot_20220811-145950_Microsoft Remote Desktop.jpg
    Screenshot_20220811-145950_Microsoft Remote Desktop.jpg
    118.2 KB · Views: 48