public static void LoadFaceInfo()
        {
            if (!File.Exists(filenameFaces))
            {
                File.Create(filenameFaces);
            }

            var lines = File.ReadAllLines(filenameFaces);

            for (var i = 0; i < lines.Length; i += 1)
            {
                string         line = lines[i];
                RecognizedFace face = JsonConvert.DeserializeObject <RecognizedFace>(line);
                AllFaces.Add(face);
            }
        }
        public static void InsertRecord(CroppedBitmap picture, IReadOnlyDictionary <FaceShapeDeformations, float> deformations)
        {
            JsonSerializer serializer = new JsonSerializer();

            string         name = DateTime.Now.ToString("yyyyMMddHHmmssffff");
            RecognizedFace face = new RecognizedFace()
            {
                Name = name, Deformations = deformations
            };
            string output = JsonConvert.SerializeObject(face);

            using (System.IO.StreamWriter file = new System.IO.StreamWriter(filenameFaces, true))
            {
                file.WriteLine(output);
            }
            SaveCroppedBitmap(picture, name + ".jpg");

            // SQLiteBlob myBlob =
        }