Software Archive
Read-only legacy content
17061 Discussions

Face Recognition using RSSDK

MORIA_I_Intel
Employee
270 Views

Hi,

Any idea if it's possible to refresh Face Recognition Database during runtime?

I'm trying to create kind of a 2-clients of FR module-

while application #1 will insert users to FR DB

and application #2 should detect them.

But I can't find a way to refresh DB during runtime...

Relevant code:

Byte[] buffer = File.ReadAllBytes(DatabaseFilename);
recognitionConfig.SetDatabaseBuffer(buffer);

while trying i'm getting error that says: "attempted to read/write protected memory" - Access Violation Exception

(using SDK version 5.0.3)

Appreciate if anyone can advise me. tnx!

Moria

 

0 Kudos
1 Reply
jinjun_k_
Beginner
270 Views

It is possible to do that, but after update new DB, you have to call config.applychanges();

but sometimes this action will leds to program crash..

0 Kudos
Reply