Help me understand the difference between Face Detection and Face Recognition

Bill Gates

n3wb
May 30, 2024
18
5
Third world ass country
Hello! I was looking at the specs of various cameras from Dahua and Hikvision. Many of them offer Face Detection, but I read somewhere that's more of a gimmick. Is Face Detection worth at all? What is the difference between face recognition? And are hikvision and dahua face recognition/detection the same or is one better than the other?
 
FD= I see a face and identify it as such (vs a bird or a leg or a car). I dont store it or compare it to anything
FR= I see that face and copy it into my internal database, check my database to see if I recognize it from before, and can use rules and alerts to do things about it
 
FD= I see a face and identify it as such (vs a bird or a leg or a car). I dont store it or compare it to anything
FR= I see that face and copy it into my internal database, check my database to see if I recognize it from before, and can use rules and alerts to do things about it
What's the difference then when you have person detection? What's the point of having face detection then if you can't really compare it to anything?

I get it that face recognition can be super helpful, but I don't see the benefit of having face detection if it just alerts you there's a "face", when you already have person detection. And from what I've read, it only works properly if the person isn't moving and is extremely close to the camera.

That's why I'd like to know if it is just a gimmick or there's an actual use for face detection, the one that's available in Hikvision and Dahua cameras at least.
 
Last edited:
In Dahua world, Face detection (or full Video Meta Data which also sends Face snapshots) is done on camera...
Face recognition (on faces detected by camera) in done on NVR, where NVR compares faces sent by camera with database.
 
That’s from my Dahua NVR so I’m not sure about BI. I don’t think you’ll get that in the sd card.
 
If anyone else can chime in, would love that info in BI.

What model NVR? Can the NVR use any IP Cam?
 
Can This info pass to BI or is it only stored on the Cam SD Card?
Don't think so. Not in the way shown above. BI doesn't 'know' about face detection in the same way that Dahau has functionality to take in the snapshots from the cam and do the rest. i.e., You can have the cam take whatever snapshots/video from that or other functions of the camera, but there's not (as far as I know) any way to pass those to BI as an event that it can pick up and then display/manage.

You can in various ways use the AI-based human detection to trigger ONVIF events that BI can pick up. e.g., I can set up IVS rules on the cam that are selective for humans (only) detected and pass that to BI as an event that will trigger recording/notification/whatever in BI.

ETA: Using CodeProject AI with BI you may be able to do some face-capture type stuff. I've not done much with that to know how.
 
Thats an older 5216-16P-4KS2E

Basically the NVR has to have the capability (not all do) to read the info and the camera has to support the capture (in this case Video MetaData, but some have a separate FD function.)

On Newer EI- NVRs they have some limited (by number of channels) to do this without the help of the camera, so yes it can theoretically work on older "dumb" cameras with the proper new NVR

I think BI uses something different of its own
 
Any Dahua 5xxx NVR (or higher) can receive / display / search Video Meta Data (AI Search -> human / face / motor vehicle / non motor vehicle) - both snapshots, video footage and meta data (sex, age, clothes type & colors, car color, brand etc)..
Lower lines (4xxx) can only display face detection / IVS records / snapshots...
If you enable on camera saving snapshots I have also those snapshots (but without video / metadata) on SD Card.. but interface on camera is very limited..
 
Thanks to @steve1225 I discovered the benefits of VideoMetaData about a year ago and use it on a number of cameras with my now 7 year old Dahua NVR

So on select cameras with VMD capability, I get these 4 AI search functions as he said -> human / face / motor vehicle / non motor vehicle

human.jpg Metadata-FD.jpg Meta-AI-NON-MotorVehicle.jpg Metadata-vehicle.jpg
 
  • Like
Reactions: Mike A.
Might switch from BI, anything major I'd lose? Really only use basic recording and notification
 
I posted those many times on this forum...

human / face / non motor / motor vehicle.. in case of vehicles you have even car plates snapshots..

all from 5442-Z4E (strong 3x-9x zoom version) on 5232-EI...

VMD humans.png
VMD faces.png

VMD non motor.png

VMD vehicled day.png

VMD vehicles night.png
 
Can faces be named and auto named for future alerts?

If You do face recognition on NVR, then You will have Face events with name from database.
But there is ZERO interconnections between Face Recognition and any other AI function.
So for example IVS (or any other function) can't be silenced for known people / house residents.

I have big hopes that next generation of AcuPick (3.0) will bring integration with Face Recognition and will allow to differentiate actions for IVS depending is person known / marked in database as safe / resident.