-
Notifications
You must be signed in to change notification settings - Fork 322
Description
Hello Takeuchi-san.
I have created a face recognition system using your wonderful work, thank you very much.
Only, my enterprise works with microservices, and in order to implement the f.r. system into one I would need to work independently of the file system. There, I stumble upon FaceRecognition.Create, which only takes a folder path as input.
I've been looking into it and basically what Create does is deserialize all 4 model files using DlibDotNet. Deserialize method in DlibDotNet.Dnn.LossMmod.cs and .Dnn.LossMetric.cs both take a file, check if it exists and turn it into a byte array, then they do the proper deserializing.
I was wondering, could it be possible to create an overload for these Deserialize methods that takes directly a byte array, and extend that up to the Create method, so that FaceRecognition.Create(byte[] resnetModel, byte[] faceDetector, byte[] 5faceLandmarks, byte[] 68faceLandmarks) could be used as an overload (along with the already existing method print)?
I really love your work and would like to keep using it as you publish it, without internal tinkering.
Thank you again.